AJIO Post B2B Invoice Interface
Push B2B invoice - Once the B2B invoice is generated by the client’s ERP using the Sales order posting data, the same invoice needs to be pushed to Increff.
The below API can be used to push the B2B invoice to Increff.
Prod - http://assure-proxy.increff.com/ajio-vms/b2bInvoice/posting
Staging - http://staging-oltp.increff.com/ajio-vms/b2bInvoice/posting
Headers
authUsername, authPassword will be shared once integration is complete.
Method
POST
Payload
{
"invoiceNumber": "9200006652",
"invoiceDate": "2020-10-16T20:22:28.000+05:30",
"forwardPurchaseOrder": "4042640641",
"isPartialInvoice": true,
"invoiceLineEntries": [
{
"channelSkuCode": "460491724004",
"quantity": 1
},
{
"channelSkuCode": "460491724006",
"quantity": 2
},
{
"channelSkuCode": "460491724008",
"quantity": 1
}
],
"qrCode": "String",
"irnNumber": "String",
"invoicePdf": "Base 64 encoded byte stream",
"invoiceURL": "Invoice PDF public URL"
}
Response
Http Status Code: 200 [Success]
Payload DetailsÂ
Parameter Name | Data Type | Description | Mandatory |
invoiceNumber | String | Invoice number on Invoice Document | yes |
invoiceDate | ZonedDateTime | Invoice date and time with zone information | yes |
forwardPurchaseOrder | String | Purchase Order Number | yes |
qrCode | String | QR Code | yes |
irnNumber | String | IRN number | yes |
isPartialInvoice | Boolean | If ERP has created partial invoice for complete order then it will be true. For example if only 3 out of 5 items are invoiced then set it as true, else false. In general for B2C this is false. | yes |
invoiceLineEntries | List | List of line items getting Invoiced. | This is required only in case when isPartialInvoice is set as true. |
channelSkuCode | String | This will be the SKU code sent during Ajio order posting. | no |
quantity | Integer | Sku quantity that is invoiced | no |
invoicePdf | String | Base 64 encoded byte stream | Either base 64 encoded pdf string or a public URL to download the pdf is mandatory. |
invoiceURL | String | Invoice PDF public URL |