POST api/invoices/issueinvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CFId | integer |
None. |
|
| InvTypeId | integer |
None. |
|
| SaleTypeId | integer |
None. |
|
| Notes | string |
None. |
|
| EmailAddress | string |
None. |
|
| PrintInvoice | 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,
"Notes": "sample string 4",
"EmailAddress": "sample string 5",
"PrintInvoice": 6,
"PayerModel": {
"PayerId": 1,
"PayerAlias": "sample string 2",
"PayerAddress": "sample string 3",
"PayerTown": "sample string 4",
"PayerCountry": "sample string 5",
"PayerCountryId": 6,
"PayerAFM": "sample string 7",
"PayerTaxOffice": "sample string 8",
"PayerJob": "sample string 9",
"PayerPhone": "sample string 10",
"PayerFax": "sample string 11",
"PayerZipCode": "sample string 12"
},
"CustomerModel": {
"AcceptedIndividualConsents": [
{
"CustId": 1,
"ConsentId": 2,
"ConsentStatus": 3,
"ConsentStatusText": "sample string 4",
"EventSourceTypeId": 5,
"EventSourceId": 6,
"CreationDateTime": "2026-11-16T01:50:35.8760002+02:00",
"LastUpdateDateTime": "2026-11-16T01:50:35.8760002+02:00"
},
{
"CustId": 1,
"ConsentId": 2,
"ConsentStatus": 3,
"ConsentStatusText": "sample string 4",
"EventSourceTypeId": 5,
"EventSourceId": 6,
"CreationDateTime": "2026-11-16T01:50:35.8760002+02:00",
"LastUpdateDateTime": "2026-11-16T01:50:35.8760002+02:00"
}
],
"Label": "sample string 1",
"CustomerName": "sample string 2",
"CustomerSurname": "sample string 3",
"Address": "sample string 4",
"Town": "sample string 5",
"Country": "sample string 6",
"CountryId": 7,
"ZipCode": "sample string 8",
"Email": "sample string 9",
"Phone": "sample string 10",
"PMSProperty": "sample string 11",
"PMSRoom": "sample string 12",
"PMSGuestName": "sample string 13",
"PMSAccount": "sample string 14",
"PMSArrivalDate": "2026-11-16T01:50:35.8760002+02:00",
"PMSDepartureDate": "2026-11-16T01:50:35.8760002+02:00",
"BirthDate": "sample string 17",
"FolderId": 18,
"FolderAlias": "sample string 19",
"CustomerId": 20,
"FolderNotes": "sample string 21",
"MemberId": "sample string 22",
"ActivationDate": "2026-11-16T01:50:35.8760002+02:00",
"CustomerTypeId": 24,
"PropertyId": 25,
"LanguageId": 26,
"CRMSourceId": 27,
"AcceptsMarketingEmails": true,
"AcceptsOperationEmails": true,
"Gender": 30,
"AgeDemographicGroupId": 31,
"GoogleUserId": "sample string 32",
"MustChangePassword": true
},
"PayoutTypeId": 7,
"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": "2026-11-16T01:50:35.8760002+02:00",
"StartDate": "2026-11-16T01:50:35.8760002+02:00",
"EndDate": "2026-11-16T01:50:35.8760002+02:00",
"ProductRecommendationId": 27,
"IsMaison": true,
"IsForCouple": true,
"ExtReference1": "sample string 30",
"ParentProdId": 31,
"DiscountVoucherId": 32,
"PromoCodeId": 33,
"IsComponent": true,
"SCListId": 35,
"CampaignId": 36,
"BookingSourceActionId": 37,
"CommercialPolicyId": 38,
"DiscountReason": "sample string 39",
"ExcludeFromInvoicePolicies": true
},
{
"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": "2026-11-16T01:50:35.8760002+02:00",
"StartDate": "2026-11-16T01:50:35.8760002+02:00",
"EndDate": "2026-11-16T01:50:35.8760002+02:00",
"ProductRecommendationId": 27,
"IsMaison": true,
"IsForCouple": true,
"ExtReference1": "sample string 30",
"ParentProdId": 31,
"DiscountVoucherId": 32,
"PromoCodeId": 33,
"IsComponent": true,
"SCListId": 35,
"CampaignId": 36,
"BookingSourceActionId": 37,
"CommercialPolicyId": 38,
"DiscountReason": "sample string 39",
"ExcludeFromInvoicePolicies": true
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FiscalizedInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientCode | string |
None. |
|
| AccId | integer |
None. |
|
| PropertyCode | string |
None. |
|
| PropertyId | 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. |
|
| Success | boolean |
None. |
|
| InvoiceFound | boolean |
None. |
|
| InitialInvoiceGroup | InvoiceGroup |
None. |
Response Formats
application/json, text/json
Sample:
{
"ClientCode": "sample string 1",
"AccId": 2,
"PropertyCode": "sample string 3",
"PropertyId": 4,
"Content": "sample string 5",
"FMUFiscalizationOnClient": true,
"FMUWebApiAddress": "sample string 7",
"FMUSignature": "sample string 8",
"QRCode": "sample string 9",
"IssueOnServer": true,
"PrintOnServer": true,
"Fiscalized": true,
"SignedSuccess": true,
"PaymentSuccess": true,
"ErrorMessage": "sample string 15",
"Success": true,
"InvoiceFound": true,
"InitialInvoiceGroup": {
"Id": 1,
"UserName": "sample string 2",
"ConsumerId": 3,
"ConsumerAlias": "sample string 4",
"ConsumerAddress": "sample string 5",
"ConsumerTown": "sample string 6",
"ConsumerCountry": "sample string 7",
"ConsumerEmail": "sample string 8",
"ConsumerExtra1": "sample string 9",
"ConsumerFolderType": 0,
"CustomerId": 10,
"LeaderId": 11,
"CustomerAlias": "sample string 12",
"CustomerJob": "sample string 13",
"CustomerAddress": "sample string 14",
"CustomerTown": "sample string 15",
"CustomerZip": "sample string 16",
"CustomerPhone": "sample string 17",
"CustomerAFM": "sample string 18",
"CustomerDOY": "sample string 19",
"CustomerCountryId": 20,
"CustomerCountryCode": "sample string 21",
"CustomerSignature": "QEA=",
"FOPayerId": 22,
"FOCustomerId": 23,
"HotelAlias": "sample string 24",
"FOReservationId": "sample string 25",
"SaleTypeId": 26,
"SaleTypeDescr": "sample string 27",
"InvOrder": "sample string 28",
"InvOrdinalNumber": 29,
"InvTypeId": 30,
"InvTypeDescription": "sample string 31",
"IssueDate": "2026-11-16T01:50:35.8760002+02:00",
"IssueTime": "2026-11-16T01:50:35.8760002+02:00",
"PayoutTypeId": 1,
"PrepaidVoucherId": 1,
"PrepaymentDepositId": 1,
"PayoutTypeDescription": "sample string 34",
"ExternalReferenceId": 35,
"Notes": "sample string 36",
"NetPriceBeforeDiscount": 37.1,
"DiscountValue": 38.1,
"PayoutState": 0,
"NetPriceAfterDiscount": 39.1,
"VATValue": 40.1,
"DFValue": 41.1,
"PayoutValue": 42.1,
"Tips": 43.1,
"IsPaymentSpecified": true,
"SaleCategory": 0,
"InvCode": "sample string 45",
"FMUFiscalizationOnClient": true,
"FMUWebApiAddress": "sample string 47",
"InvoiceGUID": "sample string 48",
"InvoiceType": {
"Id": 1,
"Description": "sample string 2",
"Alias": "sample string 3",
"IssueOnServer": true,
"RequiresAFM": true,
"RequiresPayment": true,
"FMUFiscalizationOnClient": true,
"FMUWebApiAddress": "sample string 8"
},
"ValidPaymentTypes": [
{
"Id": 1,
"Description": "sample string 2",
"Category": 3,
"CreatesDebit": true,
"DebitType": 64,
"PMSDebitorId1": "sample string 6",
"PMSDebitorId2": "sample string 7",
"PMSDebitorType": "sample string 8",
"IsMaison": true,
"ExtReference": "sample string 10",
"IsActive": true,
"UseCrossPosting": true,
"InvReportIdCopy1": 13,
"InvReportIdCopy2": 14,
"PMSValidateCustomer": true,
"InvTypeId": 16,
"ExtReference2": "sample string 17",
"EFTPosTerminalId": 18,
"CreatesReverseCredit": true,
"ReverseCreditCuFlId": 20,
"InvoicePaymentCategoryId": 21,
"AskForTips": true,
"ExtReference3": "sample string 23",
"EFTPosTerminalCardTypeCode": "sample string 24",
"EFTPosTerminalPaymentType": "sample string 25",
"CustomerType": 0,
"PropertyId": 26,
"RequiresCustomerSignature": true
},
{
"Id": 1,
"Description": "sample string 2",
"Category": 3,
"CreatesDebit": true,
"DebitType": 64,
"PMSDebitorId1": "sample string 6",
"PMSDebitorId2": "sample string 7",
"PMSDebitorType": "sample string 8",
"IsMaison": true,
"ExtReference": "sample string 10",
"IsActive": true,
"UseCrossPosting": true,
"InvReportIdCopy1": 13,
"InvReportIdCopy2": 14,
"PMSValidateCustomer": true,
"InvTypeId": 16,
"ExtReference2": "sample string 17",
"EFTPosTerminalId": 18,
"CreatesReverseCredit": true,
"ReverseCreditCuFlId": 20,
"InvoicePaymentCategoryId": 21,
"AskForTips": true,
"ExtReference3": "sample string 23",
"EFTPosTerminalCardTypeCode": "sample string 24",
"EFTPosTerminalPaymentType": "sample string 25",
"CustomerType": 0,
"PropertyId": 26,
"RequiresCustomerSignature": true
}
],
"DebitItems": [
{
"Id": 1,
"ChrgDate": "2026-11-16T01:50:35.8760002+02:00",
"InvId": 3,
"SaleTypeId": 4,
"InvSrvId": 5,
"AccDeptId": 6,
"CFPrId": 7,
"CuFlId": 8,
"CuFlAlias": "sample string 9",
"Name": "sample string 10",
"DepartmentId": 11,
"ProdId": 12,
"ProdDuration": 13,
"LeaderId": 14,
"LeaderDescription": "sample string 15",
"ProductGroupDescription": "sample string 16",
"ProdDescr": "sample string 17",
"CuFlProdDescr": "sample string 18",
"ChrgQuantity": 19.1,
"ChrgVAT": 20.1,
"VATValue": 21.1,
"NetValue": 22.1,
"Value": 23.1,
"DiscountPercent": 24.1,
"DiscountValue": 25.1,
"CHGType": 0,
"IsMaisonDebit": true,
"FolderType": 0,
"IsArrangement": true,
"IsHidden": true,
"PrepaidVoucherId": 29,
"PrepaymentDepositId": 30,
"BookingSourceId": 31
},
{
"Id": 1,
"ChrgDate": "2026-11-16T01:50:35.8760002+02:00",
"InvId": 3,
"SaleTypeId": 4,
"InvSrvId": 5,
"AccDeptId": 6,
"CFPrId": 7,
"CuFlId": 8,
"CuFlAlias": "sample string 9",
"Name": "sample string 10",
"DepartmentId": 11,
"ProdId": 12,
"ProdDuration": 13,
"LeaderId": 14,
"LeaderDescription": "sample string 15",
"ProductGroupDescription": "sample string 16",
"ProdDescr": "sample string 17",
"CuFlProdDescr": "sample string 18",
"ChrgQuantity": 19.1,
"ChrgVAT": 20.1,
"VATValue": 21.1,
"NetValue": 22.1,
"Value": 23.1,
"DiscountPercent": 24.1,
"DiscountValue": 25.1,
"CHGType": 0,
"IsMaisonDebit": true,
"FolderType": 0,
"IsArrangement": true,
"IsHidden": true,
"PrepaidVoucherId": 29,
"PrepaymentDepositId": 30,
"BookingSourceId": 31
}
],
"CreditItems": [
{
"Id": 1,
"ChrgDate": "2026-11-16T01:50:35.8760002+02:00",
"InvId": 3,
"ParId": 4,
"SaleTypeId": 5,
"InvSrvId": 6,
"AccDeptId": 7,
"CFPrId": 8,
"ExtPayerId": 9,
"CustId": 10,
"CuFlId": 11,
"CuFlAlias": "sample string 12",
"ProdId": 13,
"ProdDuration": 14,
"LeaderId": 15,
"LeaderDescription": "sample string 16",
"ProductGroupDescription": "sample string 17",
"PaymentTypeId": 18,
"PaymentDescription": "sample string 19",
"ProdDescr": "sample string 20",
"CuFlProdDescr": "sample string 21",
"Value": 22.1,
"CHGType": 0,
"IsMaisonCredit": true,
"ProductType": 0,
"IsArrangement": true,
"IsHidden": true,
"PrepaidVoucherId": 26,
"Notes": "sample string 27",
"BookingSourceId": 28,
"PrepaymentDepositId": 29
},
{
"Id": 1,
"ChrgDate": "2026-11-16T01:50:35.8760002+02:00",
"InvId": 3,
"ParId": 4,
"SaleTypeId": 5,
"InvSrvId": 6,
"AccDeptId": 7,
"CFPrId": 8,
"ExtPayerId": 9,
"CustId": 10,
"CuFlId": 11,
"CuFlAlias": "sample string 12",
"ProdId": 13,
"ProdDuration": 14,
"LeaderId": 15,
"LeaderDescription": "sample string 16",
"ProductGroupDescription": "sample string 17",
"PaymentTypeId": 18,
"PaymentDescription": "sample string 19",
"ProdDescr": "sample string 20",
"CuFlProdDescr": "sample string 21",
"Value": 22.1,
"CHGType": 0,
"IsMaisonCredit": true,
"ProductType": 0,
"IsArrangement": true,
"IsHidden": true,
"PrepaidVoucherId": 26,
"Notes": "sample string 27",
"BookingSourceId": 28,
"PrepaymentDepositId": 29
}
],
"PaymentSignature": {
"Id": 1,
"InvoicePaymentId": 2,
"ECRTOKEN": "sample string 3",
"PID": "sample string 4",
"UID": "sample string 5",
"MARK": "sample string 6",
"TOTALAMOUNT": "sample string 7",
"TOTALNETAMOUNT": "sample string 8",
"TOTALVATAMOUNT": "sample string 9",
"PAYAMOUNT": "sample string 10",
"DATETIME": "sample string 11",
"TID": "sample string 12",
"SIGNATURE": "sample string 13",
"EXPIRATIONDATE": "sample string 14",
"EXTID": "sample string 15",
"DSIGDATA": "sample string 16"
}
}
}