invoice
Get the details of an invoice.
Requires IP authentication.
Arguments
invoiceId
The invoice id.
This field is required.
Returns
id
createdAt
The created timestamp of the invoice
updatedAt
The updated timestamp of the invoice
storeHash
The store's store hash
customerId
The customer id of the invoice
externalId
The external id of the invoice
externalCustomerId
The external customer id of the invoice
invoiceNumber
The invoice number of the invoice
type
The type of the invoice
dueDate
The due date of the invoice
status
The status of the invoice. (0: open, 1: partial paid, 2: completed)
orderNumber
The order number of the invoice
purchaseOrderNumber
The purchase order number of the invoice
details
The details of the invoice
pendingPaymentCount
The pending payment count of the invoice
source
The source of the invoice
originalBalance
The original balance of the invoice
openBalance
The open balance of the invoice
notAllowedPay
Can this invoice allow payment
bcInformation
The information of the invoice
extraFields
The extra fields of the invoice
timeOffset
The time offset
storeInfo
The store information
channelId
The channel id of the invoice
channelName
The channel name of the invoice
companyInfo
Company information of invoice
orderUserId
The order user id