{
"correlationId": "string",
"channelType": 0,
"status": 0,
"channelTypeText": "string",
"statusText": "string",
"payload": {
"header": {
"documentId": {
"documentType": "string",
"issueDate": "2019-08-24T14:15:22Z",
"saleTransactionType": 0,
"serviceIndicator": 0,
"paymentMethod": 0,
"purchaseTransactionType": 0,
"paymentMedia": 0
},
"sender": {
"taxNumber": "string",
"businessName": "string",
"businessActivity": "string",
"activityCode": "string",
"branchName": "string",
"branchCode": "string",
"address": "string",
"municipality": "string",
"city": "string",
"salesPerson": "string"
},
"receiver": {
"taxNumber": "string",
"internalCode": "string",
"businessName": "string",
"businessActivityCode": 0,
"email": "string",
"address": "string",
"municipality": "string",
"city": "string",
"postalAddress": "string",
"postalMunicipality": "string",
"postalCity": "string",
"postalCode": "string"
},
"transport": {
"driver": {
"name": "string",
"taxNumber": "string"
},
"destinationAddress": "string",
"destinationMunicipality": "string",
"destinationCity": "string"
},
"totals": {
"netAmount": 0,
"exemptAmount": 0,
"taxAmount": 0,
"totalAmount": 0,
"taxes": [
{
"taxCode": "string",
"taxRate": 0,
"taxAmount": 0
}
]
}
},
"details": [
{
"lineNumber": 0,
"itemCode": {
"codeType": "string",
"codeValue": "string"
},
"itemName": "string",
"itemDescription": "string",
"quantity": 0,
"unitPrice": 0,
"discountPercentage": 0,
"lineTotal": 0,
"totalTaxPrice": 0,
"taxes": [
{
"taxCode": "string",
"taxRate": 0,
"taxAmount": 0
}
]
}
],
"references": [
{
"lineNumber": 0,
"documentType": "string",
"folio": "string",
"date": "2019-08-24T14:15:22Z",
"code": "string",
"reason": "string"
}
]
},
"invoiceTypeCode": "string",
"customerTaxNumber": "string",
"customerCompanyName": "string",
"invoiceNumber": "string",
"totalAmount": 0,
"createdById": "e13e432a-5323-4484-a91d-b5969bc564d9",
"createdAt": "2019-08-24T14:15:22Z"
}