Skip to Content
Docs
Invoices

List invoices

GET/invoices

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Query parameters

limitinteger

Objects per page. Defaults to 10.

Default: 10

starting_afterstring

A cursor. Returns objects created after the object with this ID. Mutually exclusive with ending_before.

ending_beforestring

A cursor. Returns objects created before the object with this ID.

created.greater_than_or_equalsstring
created.less_thanstring
orderstring
customer_reference_idstring

Your ID for the customer.

statusstring

An order's invoice is issued paid. A renewal invoice is draft until issued, then open until paid. void for one replaced before it reached the customer.

One of draft, open, paid or void.

Returns

A page of invoices.

resourcestring
dataarray of objects
Show 30 child attributesHide child attributes
idstring
resourcestring
numberstring

The number in the seller's invoice series.

statusstring

An order's invoice is issued paid. A renewal invoice is draft until issued, then open until paid. void for one replaced before it reached the customer.

One of draft, open, paid or void.

orderstring or null

The order it bills. null for a renewal invoice.

subscriptionstring or null
period_startstring or null
period_endstring or null

The period runs up to this instant.

amount_dueinteger

What's left to pay.

tax_window_ends_atstring or null

With tax_figures: per_invoice, when the window for your figures closes.

sellerobject
Show 4 child attributesHide child attributes
namestring
emailstring or null
addressobject or null
Show 2 child attributesHide child attributes
Option 1object
Show 6 child attributesHide child attributes
line1string
line2string or null
citystring
statestring or null
postal_codestring
countrystring

Two-letter country code (ISO 3166-1 alpha-2).

Option 2null
tax_idsarray of objects
Show 2 child attributesHide child attributes
typestring
valuestring
customerstring
customer_reference_idstring
bill_toobject
Show 4 child attributesHide child attributes
namestring
emailstring or null
addressobject or null
Show 2 child attributesHide child attributes
Option 1object
Show 6 child attributesHide child attributes
line1string
line2string or null
citystring
statestring or null
postal_codestring
countrystring

Two-letter country code (ISO 3166-1 alpha-2).

Option 2null
tax_idsarray of objects
Show 2 child attributesHide child attributes
typestring
valuestring
currencystring

Three-letter ISO currency code, in lowercase.

amount_subtotalinteger
amount_shippinginteger
amount_taxinteger
amount_totalinteger
amount_paidinteger
amount_creditedinteger
linesarray of objects
Show 9 child attributesHide child attributes
idstring
descriptionstring
pricestring or null
price_versioninteger or null
quantityinteger
unit_amountinteger
amountinteger
amount_taxinteger
kindstring

One of item or shipping.

taxobject
Show 5 child attributesHide child attributes
sourcestring

merchant for your own figures, pay_com for Pay.com's calculation (on your tax setup when you sell, and Pay.com's own when it sells), or none.

One of merchant, pay_com or none.

amountinteger
breakdownarray of objects

By jurisdiction, in the shape tax quotes return.

merchant_amountinteger or null

When Pay.com sells and you sent your own figures with this order or invoice: what they came to. Kept beside Pay.com's figures and never charged. Otherwise null.

merchant_breakdownarray of objects or null

The breakdown you sent, kept beside Pay.com's. Set with merchant_amount.

credit_notesarray of strings
hosted_invoice_urlstring or null

null until the invoice is rendered.

invoice_pdfstring or null

null until the PDF is rendered.

issued_atstring
sent_atstring or null

When Pay.com emailed it to the customer, or null if it hasn't.

createdstring
test_modeboolean
has_moreboolean

Errors

400
The request is invalid.
401
The API key is missing or wrong.
403
The key's permissions don't allow this route.
Was this page helpful?