When invoice is generated by RMS, it also sends a INVOICE_GENERATED
notification back to client/proxy. The notification contains the Invoice details and some metadata. The push notification payload for this notification is of the following format:
Code Block |
---|
|
{
"forwardOrderCode": "ABCD",
"forwardShipmentCode": "1",
"forwardAwb": "SP73883123",
"notificationType": "INVOICE_GENERATED",
"notificationUpdateTime": null,
"returnOrderInfo": null,
"logisticAggregatorInfo": null,
"invoiceData": {
"invoiceId": 123,
"invoiceStatus": "CREATED",
"documentType": "INVOICE",
"documentUrl": "https://invoice.com/dummy/pdf",
"irn": null,
"ackName": null,
"ackDate": null
},
"warehouseCode": null,
"courierName": null,
"omniMetaData": {},
"items": null
} |