Invoices Data Service API

GET /invoices returns the approved invoices for the authenticated customer, optionally narrowed to one booking reference and paged with limit and offset. Each invoice carries its number and date, the container and house bill it belongs to, the charge lines with their rates and tax components, the taxable and non-taxable amounts and the total, plus the payment type and the house bill release status. It is the feed an accounts-payable system uses to match Airlift invoices to shipments before they arrive by email.

GEThttps://api.airliftusa.com/api/v1/api-service/external/invoices · scope invoice:read · reference updated 2025-01-06

Parameters

Query parameterMeaningExample
bookingReferenceBooking reference (the HBL number) to filter by.AIRLAMD132196
limitMaximum number of invoices in the response.25
offsetNumber of invoices to skip.0

Send Authorization: Bearer <token> with every request. The token comes from the OAuth 2.0 client credentials flow and must carry the invoice:read scope.

Example request

curl 'https://api.airliftusa.com/api/v1/api-service/external/invoices?bookingReference=AIRLAMD132196&limit=25&offset=0' \
  --header 'Authorization: Bearer YOUR_TOKEN'

Example response (200)

[
  {
    "invoice_number": "INV-12345",
    "date": "2024-01-20",
    "hbl_number": "HBL12345",
    "container_no": "CMAU1234567",
    "payment_type": "PREPAID",
    "rate_list": [
      { "type": "FREIGHT", "rate_description": "Ocean Freight", "rate": 3000, "exchange_rate": 1, "cgst_in": 270, "sgst_in": 270, "igst_in": 0, "collections": "COLLECTED" }
    ],
    "taxable_amount": 5000,
    "non_taxable_amount": 1000.5,
    "cgst": 450,
    "sgst": 450,
    "igst": 0,
    "total": 5900.5,
    "e_invoice_status": "ISSUED",
    "hbl_release_status": "RELEASED",
    "bl_release_request": "APPROVED",
    "remarks": "Freight charges"
  }
]
  • rate_list holds one row per charge with its type, description, rate and the tax split on that line.
  • hbl_release_status and bl_release_request say whether the house bill has been released against this invoice.
  • cgst, sgst and igst are the Indian GST components; they are zero on invoices where GST does not apply.

Other status codes: 400 missing or invalid parameter, 401 token missing or expired, 403 scope not granted, 404 nothing matches the reference, 500 server error. Limits are 60 requests a minute and 4,000 an hour per consumer, reported in the X-RateLimit-* headers.

Frequently asked questions

Which invoices are included?

Approved invoices only. Drafts and invoices still under review do not appear until they are approved.

How do I fetch a single invoice?

Use the Invoice Data endpoint, GET /invoice, with the invoice number.

Other endpoints

Need access? Register your application in the developer portal; the API is open to approved Airlift customers.

Full reference: models, response schemas, client snippets and a live console

Everything the guide above leaves out: every response schema, the request in cURL, Node.js, Python and Go, the environment and token panel, the OpenAPI download and the Swagger console.

Models

ErrorResponseModel
object1 fields
Fields
error
object
Properties
code
string

Error code

message
string

Human-readable error message

InvoiceModel
object16 fields
Description

Invoice details.

Fields
bl_release_request
string

BL release request status.

cgst
number

CGST amount.

container_no
string

Container numbers.

date
string

Invoice date.

e_invoice_status
string

E-invoice status.

hbl_number
string

HBL number.

hbl_release_status
string

HBL release status.

igst
number

IGST amount.

invoice_number
string

Invoice number.

non_taxable_amount
number

Non-taxable amount.

payment_type
string

Payment type.

rate_list
array

Rate list items.

remarks
string

Remarks.

sgst
number

SGST amount.

taxable_amount
number

Taxable amount.

total
number

Total amount.

InvoiceRateModel
object8 fields
Description

Invoice rate details.

Fields
cgst_in
number

CGST amount.

collections
string

Collections type.

exchange_rate
number

Exchange rate.

igst_in
number

IGST amount.

rate
number

Rate amount.

rate_description
string

Rate description.

sgst_in
number

SGST amount.

type
string

Rate type.

Release Notes

Version Date Notes
1.0.02025-01-06Initial release of invoice retrieval.

We value your privacy

We use cookies to keep our portal working, measure site usage, and analyse the businesses that visit us. Under U.S. state privacy laws, the data we share with our analytics, advertising and sales partners is considered a “sale” or “sharing” of personal data.