{
"header": {
"beneficiary": {
"name": "string",
"id": 0,
"entityType": 1
},
"payer": {
"name": "string",
"id": 0,
"entityType": 1
},
"beneficiaryAddress": {
"name": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"t": "string",
"county": "string",
"postcode": "string",
"country": "string",
"companynumber": "string",
"charitynumber": "string",
"vatnumber": "string",
"website": "string"
},
"payerAddress": {
"name": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"t": "string",
"county": "string",
"postcode": "string",
"country": "string",
"companynumber": "string",
"charitynumber": "string",
"vatnumber": "string",
"website": "string"
},
"invoiceLogo": "string",
"invoicePaymentText": "string",
"createdDate": "2019-08-24T14:15:22.123Z",
"dueDate": "2019-08-24T14:15:22.123Z",
"postingDate": "2019-08-24T14:15:22.123Z",
"notes": "string",
"description": "string",
"postedBy": {
"name": "string",
"id": 0,
"entityType": 1
}
},
"itemType": 1,
"invoiceDetail": {
"number": "string",
"poNumber": "string",
"poDocumentUrl": "string",
"items": [
{
"id": 0,
"description": "string",
"amount": 0,
"unitCost": 0,
"quantity": 0,
"nominalCode": "string",
"tax": 0,
"taxName": "string",
"itemType": 0,
"itemTypeName": "string",
"dateSent": "2019-08-24T14:15:22.123Z",
"dateCancelled": "2019-08-24T14:15:22.123Z"
}
],
"payments": [
{
"id": 0,
"description": "string",
"notes": "string",
"allocatedAt": "2019-08-24T14:15:22.123Z",
"credit": 0,
"paymentMethod": 0,
"paymentStatus": 1,
"paymentReference": "string"
}
]
},
"paymentDetail": {
"paymentMethod": 0,
"paymentStatus": 1,
"paymentReference": "string"
},
"currency": {
"id": 0,
"name": "string",
"symbol": "string",
"isoCode": "string"
},
"credit": 0,
"debit": 0
}curl --location --request POST 'https://your-api-server.com' \
--header 'Webhook-Signature;' \
--header 'Webhook-Verb: finance.entry.created' \
--header 'Content-Type: application/json' \
--data-raw '{
"header": {
"beneficiary": {
"name": "string",
"id": 0,
"entityType": 1
},
"payer": {
"name": "string",
"id": 0,
"entityType": 1
},
"beneficiaryAddress": {
"name": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"t": "string",
"county": "string",
"postcode": "string",
"country": "string",
"companynumber": "string",
"charitynumber": "string",
"vatnumber": "string",
"website": "string"
},
"payerAddress": {
"name": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"t": "string",
"county": "string",
"postcode": "string",
"country": "string",
"companynumber": "string",
"charitynumber": "string",
"vatnumber": "string",
"website": "string"
},
"invoiceLogo": "string",
"invoicePaymentText": "string",
"createdDate": "2019-08-24T14:15:22.123Z",
"dueDate": "2019-08-24T14:15:22.123Z",
"postingDate": "2019-08-24T14:15:22.123Z",
"notes": "string",
"description": "string",
"postedBy": {
"name": "string",
"id": 0,
"entityType": 1
}
},
"itemType": 1,
"invoiceDetail": {
"number": "string",
"poNumber": "string",
"poDocumentUrl": "string",
"items": [
{
"id": 0,
"description": "string",
"amount": 0,
"unitCost": 0,
"quantity": 0,
"nominalCode": "string",
"tax": 0,
"taxName": "string",
"itemType": 0,
"itemTypeName": "string",
"dateSent": "2019-08-24T14:15:22.123Z",
"dateCancelled": "2019-08-24T14:15:22.123Z"
}
],
"payments": [
{
"id": 0,
"description": "string",
"notes": "string",
"allocatedAt": "2019-08-24T14:15:22.123Z",
"credit": 0,
"paymentMethod": 0,
"paymentStatus": 1,
"paymentReference": "string"
}
]
},
"paymentDetail": {
"paymentMethod": 0,
"paymentStatus": 1,
"paymentReference": "string"
},
"currency": {
"id": 0,
"name": "string",
"symbol": "string",
"isoCode": "string"
},
"credit": 0,
"debit": 0
}'{}