curl --location --request POST '/api/Invoice' \
--header 'X-BalikujAuthToken: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"applicationId": 0,
"orderId": 0,
"relatedId": 0,
"taxDocumentIds": [
0
],
"type": "Proforma",
"proformaNext": "None",
"vatPriceMode": "WithoutVat",
"correctionId": 0,
"numberSeriesId": 0,
"number": "string",
"variableSymbol": "string",
"constantSymbol": "stri",
"specificSymbol": "string",
"invoiceAddress": {
"name": "Josef Novák",
"company": "Firma s.r.o.",
"street": "Ulice 555",
"city": "Zlín",
"zip": "76001",
"phone": "+420123456789",
"email": "email@info.cz",
"country": "CZ",
"additionalInfo": "Poslední byt v pravo.",
"taxNumber": "12345678",
"vatNumber": "CZ1234567890",
"taxId": "string",
"externalCode": "id-28462"
},
"deliveryAddress": {
"name": "Josef Novák",
"company": "Firma s.r.o.",
"street": "Ulice 555",
"city": "Zlín",
"zip": "76001",
"phone": "+420123456789",
"email": "email@info.cz",
"country": "CZ",
"additionalInfo": "Poslední byt v pravo.",
"taxNumber": "12345678",
"vatNumber": "CZ1234567890",
"taxId": "string",
"externalCode": "id-28462"
},
"textHeader": "string",
"textFooter": "string",
"privateNote": "string",
"reason": "string",
"bankAccountId": 0,
"ibanVisible": true,
"showDoNotPay": true,
"paymentMethod": "Other",
"paymentMethodOther": "string",
"currency": "CZK",
"exchangeRate": 0,
"language": "CS",
"issued": "2024-06-22",
"taxable": "2024-06-22",
"dueDays": 14,
"items": [
{
"name": "string",
"code": "string",
"unit": "string",
"quantity": 0,
"itemPrice": 0,
"itemPriceVatRate": 0,
"itemDiscount": 0
}
],
"reverseCharge": true,
"reverseChargeCode": "string",
"oss": "string"
}'{
"correlationId": "d22127f9-6f76-4e1f-a15b-47ba32e899d0",
"result": {
"id": 0,
"application": {
"id": 0,
"domain": "string",
"code": "string"
},
"orderId": 0,
"orderNumber": "string",
"orderCreated": "2019-08-24T14:15:22.123Z",
"type": "Proforma",
"proformaNext": "None",
"correctionId": 0,
"correctionNumber": "string",
"relatedId": 0,
"relatedType": "Proforma",
"numberSeriesId": 0,
"number": "string",
"variableSymbol": "string",
"constantSymbol": "string",
"specificSymbol": "string",
"vatPriceMode": "WithoutVat",
"invoiceCompany": {
"id": 0,
"vatMode": "NonPayer",
"company": "string",
"name": "string",
"street": "string",
"street2": "string",
"city": "string",
"zip": "string",
"phone": "string",
"email": "string",
"country": "CZ",
"countryName": "Česká republika",
"taxNumber": "string",
"vatNumber": "string",
"taxId": "string"
},
"invoiceAddress": {
"id": 0,
"name": "Josef Novák",
"company": "Firma s.r.o.",
"street": "Ulice 555",
"city": "Zlín",
"zip": "76001",
"phone": "+420123456789",
"email": "email@info.cz",
"country": "CZ",
"countryName": "Česká republika",
"isEnabled": true,
"type": 1,
"additionalInfo": "Poslední byt v pravo.",
"taxNumber": "12345678",
"vatNumber": "CZ1234567890",
"taxId": "CZ1234567890",
"externalCode": "id-28462"
},
"deliveryAddress": {
"id": 0,
"name": "Josef Novák",
"company": "Firma s.r.o.",
"street": "Ulice 555",
"city": "Zlín",
"zip": "76001",
"phone": "+420123456789",
"email": "email@info.cz",
"country": "CZ",
"countryName": "Česká republika",
"isEnabled": true,
"type": 1,
"additionalInfo": "Poslední byt v pravo.",
"taxNumber": "12345678",
"vatNumber": "CZ1234567890",
"taxId": "CZ1234567890",
"externalCode": "id-28462"
},
"hash": "string",
"status": "Draft",
"textHeader": "string",
"textFooter": "string",
"privateNote": "string",
"reason": "string",
"bankAccountId": 0,
"bankName": "string",
"bankAccountNumber": "string",
"bankAccountCode": "2010",
"iban": "string",
"swiftBic": "string",
"ibanVisible": true,
"showDoNotPay": true,
"qrPaymentCode": "string",
"paymentMethod": "Other",
"paymentMethodName": "string",
"paymentMethodOther": "string",
"currency": "string",
"exchangeRate": 0,
"language": "string",
"vatRates": [
{
"vatRate": 21,
"totalWithVat": 121,
"totalWithoutVat": 100,
"totalVat": 21,
"totalWithVatNative": 121,
"totalWithoutVatNative": 100,
"totalVatNative": 21
}
],
"totalWithVat": 0,
"totalWithoutVat": 0,
"totalVat": 0,
"totalWithVatNative": 0,
"totalWithoutVatNative": 0,
"totalVatNative": 0,
"remainingAmount": 0,
"remainingAmountNative": 0,
"created": "2019-08-24T14:15:22.123Z",
"updated": "2019-08-24T14:15:22.123Z",
"canceled": "2019-08-24T14:15:22.123Z",
"due": "string",
"issued": "string",
"taxable": "string",
"paid": "2019-08-24T14:15:22.123Z",
"reminderSent": "2019-08-24T14:15:22.123Z",
"dueDays": 14,
"isArchived": false,
"archived": "2019-08-24T14:15:22.123Z",
"isLocked": true,
"locked": "2019-08-24T14:15:22.123Z",
"isPrinted": false,
"items": [
{
"id": 0,
"name": "string",
"code": "string",
"unit": "string",
"quantity": 0,
"itemPrice": 0,
"itemPriceWithVat": 1210,
"itemPriceWithoutVat": 0,
"itemPriceVat": 0,
"itemPriceVatRate": 0,
"totalWithVat": 0,
"totalWithoutVat": 0,
"totalVat": 0,
"totalWithVatNative": 0,
"totalWithoutVatNative": 0,
"totalVatNative": 0
}
],
"advances": [
{
"id": 0,
"number": "string",
"variableSymbol": "string",
"name": "string",
"paid": "2019-08-24T14:15:22.123Z",
"vatRate": 0,
"currency": "string",
"totalWithVat": 0,
"totalWithVatNative": 0,
"totalWithoutVat": 0,
"totalWithoutVatNative": 0,
"totalVat": 0,
"totalVatNative": 0
}
],
"payments": [
{
"id": 0,
"bankAccountId": 0,
"taxDocumentId": 0,
"taxDocumentNumber": "string",
"amount": 0,
"currency": "string",
"variableSymbol": "string",
"note": "string",
"datePaid": "2019-08-24T14:15:22.123Z",
"created": "2019-08-24T14:15:22.123Z",
"updated": "2019-08-24T14:15:22.123Z"
}
],
"reverseCharge": true,
"reverseChargeCode": "string",
"oss": "string",
"property1": "string",
"property2": "string"
}
}