Skip to content

Invoicing

APIs to manage invoicing.

Get Invoice Data

Request

This endpoint gets the invoice data for given invoice numbers

Security
Bearer
Bodyapplication/json
invoiceIdsArray of strings, (uuid)

One or more Invoice IDs being requested

Example:
[ "15c94ac1-f540-4916-9243-306a75fbd8a9" ]
tmcIdstringdeprecated

TMC for which invoice is being requested. Deprecated in favor of invoiceIds.

Example:"15c94ac1-f540-4916-9243-306a75fbd8a9"
invoiceNumbersArray of stringsdeprecated

One or more invoice numbers being requested. Deprecated in favor of invoiceIds.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/invoicing/invoice-data \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "tmcId": "15c94ac1-f540-4916-9243-306a75fbd8a9",
    "invoiceNumbers": [
      "string"
    ],
    "invoiceIds": [
      "15c94ac1-f540-4916-9243-306a75fbd8a9"
    ]
  }'

Responses

OK

Bodyapplication/json
invoicesArray of objects(Invoice)required

List of invoices which were requested.

Response
{ "invoices": [ { … } ] }