Skip to main content

Retrieve a list of invoices

Retrieves the collection of Invoice resources.

Authorizations:Token, JWT
Query Parameters
order_id
required
stringInvoice identifier
pageintegerDefault: 1The collection page number
itemsPerPageinteger[0 .. 100]Default: 30The number of items per page
paginationbooleanEnable or disable pagination
filter.createdAt.rangeobject (Range filter for "createdAt" field)Range filter for "createdAt" field
beginstring or null
endstring or null
Query Parameters
order_id
required
stringInvoice identifier
pageintegerDefault: 1The collection page number
itemsPerPageinteger[0 .. 100]Default: 30The number of items per page
paginationbooleanEnable or disable pagination
filter.createdAt.rangeobject (Range filter for "createdAt" field)Range filter for "createdAt" field
beginstring or null
endstring or null

Responses

200Invoice collection
Response schema:
Invoice collection
Array
invoiceNumberstring
profileobject
idinteger or null
emailstring
membershipIdinteger>= 0
addressesArray of objects
Array
is_billingboolean
is_shippingboolean
is_workboolean
typestringDefault: "R"Enum: "R""C"
titlestring
firstnamestring
lastnamestring
phonestring
address1string
address2string
address3string
zipcodestring<= 32 characters
citystring
country_codestring2 characters
stateinteger>= 0
state_namestring
custom_fieldsArray of objects
Array
namestring
valuestring
idinteger>= 1
isBillingboolean
isShippingboolean
isWorkboolean
countryCodestring
stateNamestring
customFieldsArray of objects
Array
namestring
valuestring
createdAtstring
updatedAtstring
statusstring
customerNotesstring
adminNotesstring
itemsArray of objects
Array
idinteger
productIdinteger>= 1
skustring
namestring
amountnumber
pricenumber
surchargesArray of objects
Array
idinteger
typestringEnum: "tax""discount""shipping""handling""error"
familystring
codestring
namestring
includeboolean
availablebooleanDefault: true
valuenumber
attribute_valuesArray of objects
Array
idinteger
typestringEnum: "checkbox""select""text"
namestring
valuestring
attributeIdinteger
subtotalnumber
totalnumber
attributeValuesArray of objects
Array
idinteger
typestringEnum: "checkbox""select""text"
namestring
valuestring
attributeIdinteger
surchargesArray of objects
Array
idinteger
typestringEnum: "tax""discount""shipping""handling""error"
familystring
codestring
namestring
includeboolean
availablebooleanDefault: true
valuenumber
paymentTransactionsArray of objects
Array
idinteger
createdAtstring
publicTxnIdstring
method_namestring
statusstring
valuenumber
notestring
typestring<= 16 characters
publicIdstring
currencystring3 characters
methodNamestring
currencystring3 characters
subtotalnumber
totalnumber
idinteger>= 1
401Unauthorized
Response schema:
Unauthorized
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
500Internal error
Response schema:
Internal error
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null