getInvoice

Returns invoice details, including header and line items, for the specified invoice.

Path Params
string
required

The unique identifier for an invoice. This field is also returned as part of the InvoiceHeader element in the response. For AP-Inventory invoices the identifier is formatted as InvoiceNumber~PayeeCode.

Query Params
string
required

The marketplace ID of the marketplace of the invoice. The marketplace ID is a globally unique identifier used to specify an Amazon marketplace. For more information, refer to Marketplace IDs.

string

The response includes nextTokenForLineItems when the number of line items exceeds the default page size (600). To get the next page of line items, call the operation with this token, including the same request parameters as the call that generated the token.

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json