Skip to main content
GET
/
operations
/
{operationId}
/
receipt
Get receipt by operation
curl --request GET \
  --url https://api.openfiskal.com/v1/operations/{operationId}/receipt \
  --header 'Authorization: Bearer <token>' \
  --header 'X-OpenFiskal-Merchant: <x-openfiskal-merchant>'
{
  "id": "<string>",
  "operation_id": "<string>",
  "merchant_id": "<string>",
  "location_id": "<string>",
  "register_id": "<string>",
  "status": "available",
  "currency": "<string>",
  "issued_at": "2023-11-07T05:31:56Z",
  "issuer": {
    "legal_name": "<string>",
    "location_name": "<string>",
    "register_name": "<string>",
    "address": {
      "line1": "<string>",
      "city": "<string>",
      "postal_code": "<string>",
      "country_code": "DEU"
    },
    "tax_id": "<string>"
  },
  "line_items": [
    {
      "description": "<string>",
      "quantity": 123,
      "unit_price": 123,
      "total_amount": 123,
      "id": "<string>",
      "tax_rate": "<string>",
      "tax_amount": 123
    }
  ],
  "totals": {
    "total_gross": 123,
    "total_net": 123,
    "total_tax": 123
  },
  "payments": [
    {
      "method": "<string>",
      "amount": 123,
      "details": {}
    }
  ],
  "links": {
    "self": "<string>",
    "pdf": "<string>",
    "hosted": "<string>"
  },
  "external_reference": "<string>",
  "fiscal": {},
  "metadata": {}
}

Documentation Index

Fetch the complete documentation index at: https://dev.openfiskal.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-OpenFiskal-Merchant
string
required

Path Parameters

operationId
string
required

Response

Receipt returned

id
string
required
operation_id
string
required
merchant_id
string
required
location_id
string
required
register_id
string
required
status
enum<string>
required
Available options:
available,
archived
currency
string
required
issued_at
string<date-time>
required
issuer
object
required
line_items
object[]
required
totals
object
required
payments
object[]
required
external_reference
string | null
fiscal
object
metadata
object