Invoice - Retrieve a single invoice or pull an entire week of invoices
POST
/invoice/invoicesLast modified: 19 days ago
The Invoice API endpoint allows users to retrieve detailed information for either a single invoice or all invoices within a specified week, based on search criteria.
Input Parameters:
Authentication:
- The
Authentication
object containsUserName
,ClientCode
, andAuthenticationID
to confirm user access.
- The
Search Criteria:
SearchType
: Specifies the type of search, with options:WE
for Weekending (requires a Saturday date formatted asYYYYMMDD
).PD
for Pickup Date.IN
for Invoice/Pro (carrier invoice number, including any leading zeros).
SearchValue
: The date (formatted asYYYYMMDD
) or invoice number corresponding to theSearchType
.
Output Structure:
Each invoice retrieved includes:
General Invoice Details:
Wedate
: Weekending date.Invoice
: Invoice number.Scac
,Carrier
,ClientCode
, andBalanceDue
: Carrier details and outstanding balance.PickupDate
andDeliveryDate
.InvoiceAmount
,Direction
, and shipment identifiers (BLNumber
,PONumber
,GLNumber
,Store
,Department
).ReferenceNumber
andReferenceType
for cross-referencing.AuditNotes
,TotalWeight
,LadingQuantity
, andMiles
.
Addresses:
Shipper
,Consignee
, andBillTo
: Contact details for each party involved.
Invoice Images:
InvoiceImages
array, containing document details withDocumentType
andDocumentID
for each associated document.
This endpoint provides users with a comprehensive view of invoice details, including shipment specifics, carrier information, and downloadable document links.
Request
Body Params application/json
No schema defined
Example
Not configured
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured