Get ShipMyOrders Invoice
GET/api/shipmyorders/invoices/:invoice
Returns one ShipMyOrders invoice with all of its lines.
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
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.