Get invoice details

Dronelift APIs

Language
English
Document type
Developer guide
Version
V1
Drone type
FoodShipper
HeavyShipper
LightShipper
Region
World

The following is a list of the endpoints and parameters for the Delivery Invoice API.

Endpoint:

GET /invoices

Parameters:

  • id: the ID of the invoice

  • status: the status of the invoice (pending, completed, cancelled, failed)

  • created_at: the date and time the invoice was created

  • updated_at: the date and time the invoice was last updated

  • total: the total amount of the invoice

  • paid_at: the date and time the invoice was paid

  • paid_by: the name of the person or company who paid the invoice

  • invoice_items: an array of invoice items

Each invoice item has the following parameters:

  • id: the ID of the invoice item

  • description: the description of the invoice item

  • quantity: the quantity of the invoice item

  • price: the price of the invoice item

  • taxes: the taxes associated with the invoice item

  • total: the total amount of the invoice item

  • created_at: the date and time the invoice item was created

  • updated_at: the date and time the invoice item was last updated