Skip to main content

Get ShipMyOrders Invoice

GET 

/api/shipmyorders/invoices/:invoice

Returns one ShipMyOrders invoice with all of its lines.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

The invoice object carries id, invoice_number, invoice_date, total (line subtotals + tax), processed_at, archived_at, created_at, updated_at and items. Each item is one invoice line: date, reference (the provider's reference — for fulfillment charges this is the SKU.io fulfillment number, e.g. SO-10231.1), description, amount, quantity, subtotal, tax, total (money values are 4-decimal strings), nominal_code_id with the full nominal_code, the matched sales_order_fulfillment_id / financial_line_id (null until processed and matched), a compact fulfillment summary (id, sales_order_id, sales_order_number; all null when unmatched) and the full matched sales_order_fulfillment record including its sales_order (abbreviated in the examples).

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type