Orders

Retrieve an order invoice

Changed on

The endpoint returns an order invoice.

get/v1/orders/{id}/invoice/

Request

  • Base URL
    https://prod.truv.com
  • URL
    https://prod.truv.com/v1/orders/{id}/invoice/
  • Auth
    API key in header X-Access-Client-Id and API key in header X-Access-Secret

Response

idstring uuid required

Unique identifier of the order group invoice

order_group_idstring uuid required

Unique identifier of the order group

filestring uri nullable required

Invoice file URL

status'pending' | 'success' | 'error' required

Invoice status

created_atstring date-time required

Datetime when the invoice was created (ISO 8601)

updated_atstring date-time required

Datetime when the invoice was updated (ISO 8601)

Example response

{
  "status": "success",
  "created_at": "2022-05-04T11:30:00Z",
  "updated_at": "2022-05-04T11:30:00Z"
}

Changes