POST api/invoices/issueinvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceModelName | Description | Type | Additional information |
---|---|---|---|
CFId | integer |
None. |
|
InvTypeId | integer |
None. |
|
SaleTypeId | integer |
None. |
|
PayerModel | Payer |
None. |
|
CustomerModel | Customer |
None. |
|
PayoutTypeId | integer |
None. |
|
SelectedItems | Collection of ProductForSaleLine |
None. |
Request Formats
application/json, text/json
Sample:
{ "CFId": 1, "InvTypeId": 2, "SaleTypeId": 3, "PayerModel": { "PayerId": 1, "PayerAlias": "sample string 2", "PayerAddress": "sample string 3", "PayerTown": "sample string 4", "PayerCountry": "sample string 5", "PayerAFM": "sample string 6", "PayerTaxOffice": "sample string 7", "PayerJob": "sample string 8", "PayerPhone": "sample string 9", "PayerFax": "sample string 10" }, "CustomerModel": { "Label": "sample string 1", "CustomerName": "sample string 2", "CustomerSurname": "sample string 3", "Address": "sample string 4", "Town": "sample string 5", "Country": "sample string 6", "ZipCode": "sample string 7", "Email": "sample string 8", "Phone": "sample string 9", "PMSProperty": "sample string 10", "PMSRoom": "sample string 11", "PMSGuestName": "sample string 12", "PMSAccount": "sample string 13", "PMSArrivalDate": "2025-05-04T13:45:57.054652+03:00", "PMSDepartureDate": "2025-05-04T13:45:57.054652+03:00", "BirthDate": "sample string 16", "FolderId": 17, "FolderAlias": "sample string 18", "CustomerId": 19, "FolderNotes": "sample string 20", "MemberId": "sample string 21", "ActivationDate": "2025-05-04T13:45:57.054652+03:00", "CustomerTypeId": 23, "PropertyId": 24, "LanguageId": 25, "AcceptsMarketingEmails": true, "AcceptsOperationEmails": true, "Gender": 28, "GoogleUserId": "sample string 29" }, "PayoutTypeId": 4, "SelectedItems": [ { "Id": 1, "ProductId": 2, "ProdId": 3, "Quantity": 4.1, "ProductDescription": "sample string 5", "ProductType": 0, "SaleTypeId": 6, "PriceListId": 7, "Price": 8.1, "DiscountPercent": 9.1, "DiscountValue": 10.1, "TotalPrice": 11.1, "VATPercent": 12.1, "VATValue": 13.1, "PayoutValue": 14.1, "IsHidden": true, "LeaderId": 16, "AssistantId": 17, "CFId": 18, "BookingSourceId": 19, "Notes": "sample string 20", "ChargeMethod": 0, "IsArrangement": true, "Duration": 22, "FreeWill": true, "NextChargeDate": "2025-05-04T13:45:57.0556491+03:00", "StartDate": "2025-05-04T13:45:57.0556491+03:00", "EndDate": "2025-05-04T13:45:57.0556491+03:00", "ProductRecommendationId": 27, "IsMaison": true, "IsForCouple": true, "ExtReference1": "sample string 30", "ParentProdId": 31, "DiscountVoucherId": 32, "PromoCodeId": 33, "IsComponent": true, "SCListId": 35, "CampaignId": 36 }, { "Id": 1, "ProductId": 2, "ProdId": 3, "Quantity": 4.1, "ProductDescription": "sample string 5", "ProductType": 0, "SaleTypeId": 6, "PriceListId": 7, "Price": 8.1, "DiscountPercent": 9.1, "DiscountValue": 10.1, "TotalPrice": 11.1, "VATPercent": 12.1, "VATValue": 13.1, "PayoutValue": 14.1, "IsHidden": true, "LeaderId": 16, "AssistantId": 17, "CFId": 18, "BookingSourceId": 19, "Notes": "sample string 20", "ChargeMethod": 0, "IsArrangement": true, "Duration": 22, "FreeWill": true, "NextChargeDate": "2025-05-04T13:45:57.0556491+03:00", "StartDate": "2025-05-04T13:45:57.0556491+03:00", "EndDate": "2025-05-04T13:45:57.0556491+03:00", "ProductRecommendationId": 27, "IsMaison": true, "IsForCouple": true, "ExtReference1": "sample string 30", "ParentProdId": 31, "DiscountVoucherId": 32, "PromoCodeId": 33, "IsComponent": true, "SCListId": 35, "CampaignId": 36 } ] }
application/xml, text/xml
Sample:
<InvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <CFId>1</CFId> <CustomerModel> <AcceptsMarketingEmails>true</AcceptsMarketingEmails> <AcceptsOperationEmails>true</AcceptsOperationEmails> <ActivationDate>2025-05-04T13:45:57.054652+03:00</ActivationDate> <Address>sample string 4</Address> <BirthDate>sample string 16</BirthDate> <Country>sample string 6</Country> <CustomerId>19</CustomerId> <CustomerName>sample string 2</CustomerName> <CustomerSurname>sample string 3</CustomerSurname> <CustomerTypeId>23</CustomerTypeId> <Email>sample string 8</Email> <FolderAlias>sample string 18</FolderAlias> <FolderId>17</FolderId> <FolderNotes>sample string 20</FolderNotes> <Gender>28</Gender> <GoogleUserId>sample string 29</GoogleUserId> <Label>sample string 1</Label> <LanguageId>25</LanguageId> <MemberId>sample string 21</MemberId> <PMSAccount>sample string 13</PMSAccount> <PMSArrivalDate>2025-05-04T13:45:57.054652+03:00</PMSArrivalDate> <PMSDepartureDate>2025-05-04T13:45:57.054652+03:00</PMSDepartureDate> <PMSGuestName>sample string 12</PMSGuestName> <PMSProperty>sample string 10</PMSProperty> <PMSRoom>sample string 11</PMSRoom> <Phone>sample string 9</Phone> <PropertyId>24</PropertyId> <Town>sample string 5</Town> <ZipCode>sample string 7</ZipCode> </CustomerModel> <InvTypeId>2</InvTypeId> <PayerModel> <PayerAFM>sample string 6</PayerAFM> <PayerAddress>sample string 3</PayerAddress> <PayerAlias>sample string 2</PayerAlias> <PayerCountry>sample string 5</PayerCountry> <PayerFax>sample string 10</PayerFax> <PayerId>1</PayerId> <PayerJob>sample string 8</PayerJob> <PayerPhone>sample string 9</PayerPhone> <PayerTaxOffice>sample string 7</PayerTaxOffice> <PayerTown>sample string 4</PayerTown> </PayerModel> <PayoutTypeId>4</PayoutTypeId> <SaleTypeId>3</SaleTypeId> <SelectedItems> <ProductForSaleLine> <AssistantId>17</AssistantId> <BookingSourceId>19</BookingSourceId> <CFId>18</CFId> <CampaignId>36</CampaignId> <ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod> <DiscountPercent>9.1</DiscountPercent> <DiscountValue>10.1</DiscountValue> <DiscountVoucherId>32</DiscountVoucherId> <Duration>22</Duration> <EndDate>2025-05-04T13:45:57.0556491+03:00</EndDate> <ExtReference1>sample string 30</ExtReference1> <FreeWill>true</FreeWill> <Id>1</Id> <IsArrangement>true</IsArrangement> <IsComponent>true</IsComponent> <IsForCouple>true</IsForCouple> <IsHidden>true</IsHidden> <IsMaison>true</IsMaison> <LeaderId>16</LeaderId> <NextChargeDate>2025-05-04T13:45:57.0556491+03:00</NextChargeDate> <Notes>sample string 20</Notes> <ParentProdId>31</ParentProdId> <PayoutValue>14.1</PayoutValue> <Price>8.1</Price> <PriceListId>7</PriceListId> <ProdId>3</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductId>2</ProductId> <ProductRecommendationId>27</ProductRecommendationId> <ProductType>PT_THERAPY</ProductType> <PromoCodeId>33</PromoCodeId> <Quantity>4.1</Quantity> <SCListId>35</SCListId> <SaleTypeId>6</SaleTypeId> <StartDate>2025-05-04T13:45:57.0556491+03:00</StartDate> <TotalPrice>11.1</TotalPrice> <VATPercent>12.1</VATPercent> <VATValue>13.1</VATValue> </ProductForSaleLine> <ProductForSaleLine> <AssistantId>17</AssistantId> <BookingSourceId>19</BookingSourceId> <CFId>18</CFId> <CampaignId>36</CampaignId> <ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod> <DiscountPercent>9.1</DiscountPercent> <DiscountValue>10.1</DiscountValue> <DiscountVoucherId>32</DiscountVoucherId> <Duration>22</Duration> <EndDate>2025-05-04T13:45:57.0556491+03:00</EndDate> <ExtReference1>sample string 30</ExtReference1> <FreeWill>true</FreeWill> <Id>1</Id> <IsArrangement>true</IsArrangement> <IsComponent>true</IsComponent> <IsForCouple>true</IsForCouple> <IsHidden>true</IsHidden> <IsMaison>true</IsMaison> <LeaderId>16</LeaderId> <NextChargeDate>2025-05-04T13:45:57.0556491+03:00</NextChargeDate> <Notes>sample string 20</Notes> <ParentProdId>31</ParentProdId> <PayoutValue>14.1</PayoutValue> <Price>8.1</Price> <PriceListId>7</PriceListId> <ProdId>3</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductId>2</ProductId> <ProductRecommendationId>27</ProductRecommendationId> <ProductType>PT_THERAPY</ProductType> <PromoCodeId>33</PromoCodeId> <Quantity>4.1</Quantity> <SCListId>35</SCListId> <SaleTypeId>6</SaleTypeId> <StartDate>2025-05-04T13:45:57.0556491+03:00</StartDate> <TotalPrice>11.1</TotalPrice> <VATPercent>12.1</VATPercent> <VATValue>13.1</VATValue> </ProductForSaleLine> </SelectedItems> </InvoiceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FiscalizedInvoiceName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
AccId | integer |
None. |
|
Content | string |
None. |
|
FMUFiscalizationOnClient | boolean |
None. |
|
FMUWebApiAddress | string |
None. |
|
FMUSignature | string |
None. |
|
QRCode | string |
None. |
|
IssueOnServer | boolean |
None. |
|
PrintOnServer | boolean |
None. |
|
Fiscalized | boolean |
None. |
|
SignedSuccess | boolean |
None. |
|
PaymentSuccess | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ClientCode": "sample string 1", "AccId": 2, "Content": "sample string 3", "FMUFiscalizationOnClient": true, "FMUWebApiAddress": "sample string 5", "FMUSignature": "sample string 6", "QRCode": "sample string 7", "IssueOnServer": true, "PrintOnServer": true, "Fiscalized": true, "SignedSuccess": true, "PaymentSuccess": true, "ErrorMessage": "sample string 13" }
application/xml, text/xml
Sample:
<FiscalizedInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <AccId>2</AccId> <ClientCode>sample string 1</ClientCode> <Content>sample string 3</Content> <ErrorMessage>sample string 13</ErrorMessage> <FMUFiscalizationOnClient>true</FMUFiscalizationOnClient> <FMUSignature>sample string 6</FMUSignature> <FMUWebApiAddress>sample string 5</FMUWebApiAddress> <Fiscalized>true</Fiscalized> <IssueOnServer>true</IssueOnServer> <PaymentSuccess>true</PaymentSuccess> <PrintOnServer>true</PrintOnServer> <QRCode>sample string 7</QRCode> <SignedSuccess>true</SignedSuccess> </FiscalizedInvoice>