HomeDocumentationCode SamplesAPI ReferenceAnnouncementsModelsRelease NotesFAQGitHubVideos
Developer HubAPI StatusSupport
API Reference
Developer HubAPI StatusSupport

getInvoice

Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes.
To get the full invoice, use the createInvoicesExport operation to start an export request.

Usage Plan:

Rate (requests per second)Burst
215

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Path Params
string
required

The invoice identifier.

Query Params
string
required

The marketplace from which you want the invoice.

Responses

Response body
object
invoice
object

Provides detailed information about an invoice.

date-time

The date and time the invoice is issued. Values are in ISO 8601 date-time format.

string

If the invoice is in an error state, this attribute displays the error code.

string

The invoice identifier that is used by an external party. This is typically the government agency that authorized the invoice.

string

The response message from the government authority when there is an error during invoice issuance.

string

The invoice identifier.

string

The classification of the invoice type. This varies across marketplaces. Use the getInvoicesAttributes operation to check invoiceType options.

string

Use this identifier in conjunction with externalInvoiceId to identify invoices from the same seller.

string

The invoice status classification. Use the getInvoicesAttributes operation to check invoice status options.

transactionIds
array of objects

List with identifiers for the transactions associated to the invoice.

transactionIds
object
string

The transaction identifier name. Use the getInvoicesAttributes operation to check transactionIdentifierName options.

string

The transaction identifier.

string

Classification of the transaction that originated this invoice. Use the getInvoicesAttributes operation to check transactionType options.

Headers
object
string

Your rate limit (requests per second) for this operation.

string

Unique request reference identifier.

Language