POST Invoice/getInvoices

Returns the freight audit invoices of the calling company, filtered by status, upload date range, invoice numbers or tracking numbers. Pending invoices are never returned.

Pass HTTP Authorization request header with value "Bearer {token}" to perform this action.

Request Information

URI Parameters

None.

Body Parameters

Invoice filters and paging details

GetInvoicesRequest
NameDescriptionTypeAdditional information
Status

Invoice status to return, either Approved or NotApproved. When omitted, both are returned

InvoiceStatus

None.

StartDate

Start of the range on the date the invoice was uploaded. Required, together with EndDate, unless InvoiceNumbers or TrackingNumbers is supplied

date

None.

EndDate

End of the range on the date the invoice was uploaded, inclusive of the whole day. Required, together with StartDate, unless InvoiceNumbers or TrackingNumbers is supplied

date

None.

InvoiceNumbers

List of invoice numbers to return. When supplied, the date range is not required

Collection of string

None.

TrackingNumbers

List of tracking numbers to return invoices for. When supplied, the date range is not required

Collection of string

None.

Page

Page number to return, starting at 1 (default value is 1)

integer

None.

PageSize

Number of invoices per page (default value is 50, maximum is 200)

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Status": "Approved",
  "StartDate": "2026-12-02T13:20:26.728838+00:00",
  "EndDate": "2026-12-02T13:20:26.728838+00:00",
  "InvoiceNumbers": [
    "sample string 1",
    "sample string 2"
  ],
  "TrackingNumbers": [
    "sample string 1",
    "sample string 2"
  ],
  "Page": 1,
  "PageSize": 2
}

Response Information

Resource Description

Page of invoices with total count and total pages

GetInvoicesResponse
NameDescriptionTypeAdditional information
Data

Invoice list along with paging information

GetInvoicesResponseDto

None.

Code

Response code returned by api

HttpStatusCode

None.

Message

Human readable message

string

None.

TraceId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Invoices": [
      {
        "Status": "sample string 1",
        "Carrier": "sample string 2",
        "CarrierScac": "sample string 3",
        "InternalVendorId": "sample string 4",
        "DateUploaded": "2026-12-02T13:20:26.7471144+00:00",
        "ApprovedDate": "2026-12-02T13:20:26.7471144+00:00",
        "AuditDate": "2026-12-02T13:20:26.7471144+00:00",
        "InvoiceDate": "2026-12-02T13:20:26.7471144+00:00",
        "ShipmentDate": "2026-12-02T13:20:26.7471144+00:00",
        "MatchedToShipment": "sample string 5",
        "InvoiceNumber": "sample string 6",
        "TrackingNumber": "sample string 7",
        "InvoiceAmount": 1.0,
        "InvoiceTaxAmount": 1.0,
        "InvoiceCurrency": "sample string 8",
        "QuoteAmount": 1.0,
        "QuoteCurrency": "sample string 9",
        "Variance": 1.0,
        "BolNumber": "sample string 10",
        "SoNumber": "sample string 11",
        "PoNumber": "sample string 12",
        "Ref3": "sample string 13",
        "Ref4": "sample string 14",
        "Ref5": "sample string 15",
        "Ref6": "sample string 16",
        "Payee": "sample string 17",
        "ShipFromCompanyName": "sample string 18",
        "ShipFromCity": "sample string 19",
        "ShipFromState": "sample string 20",
        "ShipFromZip": "sample string 21",
        "ShipFromCountry": "sample string 22",
        "ShipFromStreet1": "sample string 23",
        "ShipFromStreet2": "sample string 24",
        "ShipToCompanyName": "sample string 25",
        "ShipToCity": "sample string 26",
        "ShipToState": "sample string 27",
        "ShipToZip": "sample string 28",
        "ShipToCountry": "sample string 29",
        "ShipToStreet1": "sample string 30",
        "ShipToStreet2": "sample string 31",
        "DueDate": "2026-12-02T13:20:26.7481134+00:00",
        "PickupDate": "2026-12-02T13:20:26.7481134+00:00",
        "PodDate": "2026-12-02T13:20:26.7481134+00:00",
        "ExportedDate": "2026-12-02T13:20:26.7481134+00:00",
        "SignedBy": "sample string 32",
        "ApprovedBy": "sample string 33",
        "AuditedBy": "sample string 34",
        "UploadedBy": "sample string 35",
        "Payment": "sample string 36",
        "Notes": "sample string 37",
        "GlCode": "sample string 38",
        "LocId": "sample string 39",
        "Exported": "sample string 40",
        "NumberOfInvoicesForTrackingNumber": 1,
        "ShipmentStatus": "sample string 41",
        "ShipmentProcessedBy": "sample string 42",
        "ShipmentSale": 1.0,
        "CustomerAudit": "sample string 43",
        "ChargeBreakdown": [
          {
            "LineNumber": "sample string 1",
            "Description": "sample string 2",
            "ChargeCode": "sample string 3",
            "InternalCode": "sample string 4",
            "GlCode": "sample string 5",
            "CustomerName": "sample string 6",
            "Amount": 1.0
          },
          {
            "LineNumber": "sample string 1",
            "Description": "sample string 2",
            "ChargeCode": "sample string 3",
            "InternalCode": "sample string 4",
            "GlCode": "sample string 5",
            "CustomerName": "sample string 6",
            "Amount": 1.0
          }
        ]
      },
      {
        "Status": "sample string 1",
        "Carrier": "sample string 2",
        "CarrierScac": "sample string 3",
        "InternalVendorId": "sample string 4",
        "DateUploaded": "2026-12-02T13:20:26.7471144+00:00",
        "ApprovedDate": "2026-12-02T13:20:26.7471144+00:00",
        "AuditDate": "2026-12-02T13:20:26.7471144+00:00",
        "InvoiceDate": "2026-12-02T13:20:26.7471144+00:00",
        "ShipmentDate": "2026-12-02T13:20:26.7471144+00:00",
        "MatchedToShipment": "sample string 5",
        "InvoiceNumber": "sample string 6",
        "TrackingNumber": "sample string 7",
        "InvoiceAmount": 1.0,
        "InvoiceTaxAmount": 1.0,
        "InvoiceCurrency": "sample string 8",
        "QuoteAmount": 1.0,
        "QuoteCurrency": "sample string 9",
        "Variance": 1.0,
        "BolNumber": "sample string 10",
        "SoNumber": "sample string 11",
        "PoNumber": "sample string 12",
        "Ref3": "sample string 13",
        "Ref4": "sample string 14",
        "Ref5": "sample string 15",
        "Ref6": "sample string 16",
        "Payee": "sample string 17",
        "ShipFromCompanyName": "sample string 18",
        "ShipFromCity": "sample string 19",
        "ShipFromState": "sample string 20",
        "ShipFromZip": "sample string 21",
        "ShipFromCountry": "sample string 22",
        "ShipFromStreet1": "sample string 23",
        "ShipFromStreet2": "sample string 24",
        "ShipToCompanyName": "sample string 25",
        "ShipToCity": "sample string 26",
        "ShipToState": "sample string 27",
        "ShipToZip": "sample string 28",
        "ShipToCountry": "sample string 29",
        "ShipToStreet1": "sample string 30",
        "ShipToStreet2": "sample string 31",
        "DueDate": "2026-12-02T13:20:26.7481134+00:00",
        "PickupDate": "2026-12-02T13:20:26.7481134+00:00",
        "PodDate": "2026-12-02T13:20:26.7481134+00:00",
        "ExportedDate": "2026-12-02T13:20:26.7481134+00:00",
        "SignedBy": "sample string 32",
        "ApprovedBy": "sample string 33",
        "AuditedBy": "sample string 34",
        "UploadedBy": "sample string 35",
        "Payment": "sample string 36",
        "Notes": "sample string 37",
        "GlCode": "sample string 38",
        "LocId": "sample string 39",
        "Exported": "sample string 40",
        "NumberOfInvoicesForTrackingNumber": 1,
        "ShipmentStatus": "sample string 41",
        "ShipmentProcessedBy": "sample string 42",
        "ShipmentSale": 1.0,
        "CustomerAudit": "sample string 43",
        "ChargeBreakdown": [
          {
            "LineNumber": "sample string 1",
            "Description": "sample string 2",
            "ChargeCode": "sample string 3",
            "InternalCode": "sample string 4",
            "GlCode": "sample string 5",
            "CustomerName": "sample string 6",
            "Amount": 1.0
          },
          {
            "LineNumber": "sample string 1",
            "Description": "sample string 2",
            "ChargeCode": "sample string 3",
            "InternalCode": "sample string 4",
            "GlCode": "sample string 5",
            "CustomerName": "sample string 6",
            "Amount": 1.0
          }
        ]
      }
    ],
    "TotalCount": 1,
    "TotalPages": 2
  },
  "Code": 100,
  "Message": "sample string 1",
  "TraceId": "sample string 2"
}