Endpoint
Authentication
All requests must include a valid JWT Bearer token in theAuthorization header.
Request Body
UUID of the courier to invoice. All packages belonging to this courier that fall within the date range will be included in the calculation.
Start of the billing period in
YYYY-MM-DD format (inclusive).End of the billing period in
YYYY-MM-DD format (inclusive).Example Request
Response
200 — Success
The response body contains four sections:warehouse (billing entity details), courier (the invoiced party), summary (aggregate totals), breakdown (per-tier fee computation), and packages (individual line items).
Response Fields
Details of the warehouse acting as the billing entity on the invoice (name, address, and contact information).
Profile of the invoiced courier, including
courier_name, courier_code, and contact details.Per-tier fee summary. Only tiers that matched at least one package are included.
Individual package line items included in the invoice.
Notes
Packages whose weight falls outside all configured weight tiers receive an
applied_fee of 0.00 and are still included in the packages array. Review your tier configuration in the billing settings if you see unexpected zero-fee packages.The
breakdown array only contains entries for tiers that had at least one matching package. Empty tiers are omitted to keep the response concise.