GET
/
v1
/
retailers
/
{retailer_pk}
/
invoices
/
{id}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Invoice ID

retailer_pk
number
required

Retailer ID

Response

200 - application/json
invoice_number
string
required

Invoice number

Required string length: 1 - 32
acknowledged_at
string | null

Time of retailer acknowledgement (UTC format)

allowances
object[]
brand
object
canceled_at
string | null

Time of order cancellation (UTC format)

charges
object[]
closed_at
string | null

Time of complete invoice payment (UTC format)

connection_id
string

Connection ID

currency
object
customer_order_number
string | null

Customer order number (for enduser)

Maximum length: 64
due_amount
string | null

Pending amount

expected_due_amount
string | null

Expected due amount (excluding allowances and charges)

id
integer

Invoice ID

invoice_acceptance
object
invoice_lines
object[]
invoiced_at
string | null

Time of invoice creation (UTC format)

net_amount
string | null

Total invoice amount (exluding taxes)

notes
string | null

Addition info adding to shipping

order_id
integer

Order ID related to invoice

ordered_at
string | null

Time of order finalization (UTC format)

paid_at
string | null

Time of payment (UTC format)

purchase_order_number
string | null

Purchase order number (for retailer)

Maximum length: 64
remit_to
object
retailer
object
ship_from
object
ship_to
object
shipped_at
string | null

Time of shipping (UTC format)

shipping_account_number
string | null

Shipping account number

Maximum length: 32
shipping_carrier_code
string | null

Code of shipping carrier

Maximum length: 32
shipping_carrier_name
string | null

Name of shipping carrier

Maximum length: 32
shipping_method_code
string | null

Code of shipping method

Maximum length: 32
shipping_method_name
string | null

Name of shipping method

Maximum length: 32
shipping_tracking_number
string | null

Shipping tracking number

Maximum length: 32
shipping_weight
string | null

Shipping weight

sold_to
object
status
enum<string>

Invoice status

Available options:
closed,
open
subtotal
string | null

Sub-total

tax
string | null

Total tax on the invoice

terms_date_due
string | null

Payment expected date

terms_description
string | null

Description of invoice terms

terms_discount_percent
string | null

Discount percentage on selected term

terms_net_days_due
integer | null

Number of days to pay invoice

Required range: -2147483648 < x < 2147483647
terms_type
enum<string> | null

Types of invoice terms

Available options:
End of Month (EOM),
No Charge,
Consignment,
10 Days After End of Month (10 EOM),
Cash Discount Terms Apply,
Basic,
Fixed Date, Late Payment Penalty Applies,
Extended,
Discount Not Applicable,
Fixed Date,
Previously agreed upon