v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Receipts

Retrieve a single receipt by charge id

Required scope: receipts:read </br>Organization authorization: supported

get/api/v1/receipts/by-charge/{chargeId}

Path parameters

chargeIdinteger required

Response

Receipt with provided charge id

idinteger required

Id of the receipt

identifierstring nullable

Human-readable receipt number (identifier)

versioninteger required

The version of the receipt layout

totalAmountnumber required

The total amount on the receipt

vatnumber required

Value added tax (VAT) amount on the receipt.

pdfUrlstring nullable

PDF url where the receipt can be fetched from

createdAtstring date-time required

The date and time receipt was created

Example response

{
  "id": 1000,
  "identifier": "REC-2024-001234",
  "version": 1,
  "totalAmount": 4234.98,
  "currency": {
    "identifier": "dkk",
    "name": "Danish krone",
    "decimals": 2
  },
  "vat": 10
}