Use the Update Invoice endpoint to bulk-invoice multiple orders at once. This marks the order as invoiced in Fynd OMS and allows partners to provide additional details like acknowledgment numbers, QR codes, and IRN numbers (if applicable).
Method:
POST
Scheme:HTTPS
Endpoint:https://{{host}}/oms/v3/shipment/invoiceUpdate
Try out Fynd Konnect's Update Invoice Endpoint
Common Request Header
| Header | Mandatory | Description |
|---|---|---|
x-access-token | Yes | The token required for authenticated calls to Fynd Konnect. |
- Supports invoice update of upto 20 orders in one call.
- Transitions orders to
bag_invoicedafter successful invoicing. - Recommended to poll order statuses using Fetch Orders with
orderStatus=PROCESSINGto confirm that bag items are in a confirmed state before invoicing.
Shipment Id of the order to be invoiced
Unique invoice reference number
Type of invoice (Either sale for the forward order invoice series or return for the customer return credit note)
QR code data for the invoice
Invoice Reference Number for e-invoicing
Digitally signed invoice data
Acknowledgment number from tax authority
Date of acknowledgment receipt
List of items included in the invoice
Meta data for packaging if applicable; overwrites the existing package dimensions
Number of payloads in the request
Number of successfully processed payloads
Number of payloads that failed
Status of the API call
Empty if everything succeeded
- Fynd Konnect [Sandbox]https://fyndkonnect.konnect.uat.fyndx1.de/oms/v3/shipment/invoiceUpdate
curl -i -X POST \
https://fyndkonnect.konnect.uat.fyndx1.de/oms/v3/shipment/invoiceUpdate \
-H 'Content-Type: application/json' \
-H 'x-access-token: YOUR_API_KEY_HERE' \
-d '[
{
"orderId": "string",
"invoiceNumber": "string",
"invoiceType": "string",
"invoiceQrCode": "string",
"irnNumber": "string",
"signedInvoice": "string",
"ackNumber": "string",
"ackDate": "string",
"orderItems": [
{
"orderItemId": "string",
"quantity": 0,
"imeiSerialNumber": [
"string"
]
}
],
"packages": [
{
"packageId": "string",
"packageLengthCm": 0,
"packageWidthCm": 0,
"packageHeightCm": 0,
"packageWeightGms": 0
}
]
}
]'| Reason | Code | Description |
|---|---|---|
| Canceled by customer/seller | IN401 | If either the orderId or orderItemId is already canceled. |
| Invalid orderId/orderItemId | IN400 | If the orderId is not found in the authorized location or orderItemId doesn't exist for that order. |
| Invalid invoiceId/invoiceType | IN422 | If the invoice identifiers or invoiceType do not align with Fynd's invoicing rules. |
| Order is already invoiced | IN453 | A duplicate invoice request was raised when the shipment is already at or beyond the invoiced state. |
| Invalid request | IN403 | Invoicing was attempted too early (before the order was confirmed). |
- For self-ship orders (where auto-invoicing is enabled on Fynd Commerce), to provide Fynd with the Air Waybill number for the order, see Update AWB
- To pass a pack call to Fynd for channel shipping orders (where auto-invoicing and auto courier assignment are enabled on Fynd Commerce), head over to Order Pack