API
HQ APILine items

List line items

List line items on a transaction

Product, event type and voucher are point in time properties

GET/v1/hq/transactions/{transaction_id}/line_items
AuthorizationBearer <token>

Short-lived bearer token that grants read access to a single transaction receipt.

In: header

Path Parameters

transaction_id*string

Transaction ID

Query Parameters

select?array<string>
expand?array<string>

Response Body

application/json

curl -X GET "https://api.noona.is/v1/hq/transactions/string/line_items"
[
  {
    "id": "8wa9uiah28dawd123",
    "type": "event_type",
    "transaction": "8wa9uiah28dawd123",
    "company": "string",
    "title": "Awesome shampoo",
    "quantity": 1,
    "unit_price": {
      "id": "8wa9uiah28dawd123",
      "currency": "ISK",
      "amount": 1990,
      "original_amount": 1990,
      "discount": 20
    },
    "discount": 20,
    "vat_amount": 0.24,
    "tax_exemption_reason": "M01",
    "vat_treatment": "non_vat_payer",
    "is_returning": false,
    "employee": "string",
    "product": "string",
    "event_type": "string",
    "voucher_template": "string",
    "voucher": {
      "id": "7awdXwZoedakjad37a"
    },
    "claim": "string",
    "event": "string",
    "variation_id": "string",
    "booked_by": "8wa9uiah28dawd123",
    "voucher_customer": "string"
  }
]
Empty
Empty
Empty