---
title: "Retrieve all fiscal receipts attached to an order."
method: GET
path: "/shop/orders/{orderId}/fiscal-receipts"
tags: ["Orders"]
---

# Retrieve all fiscal receipts attached to an order.

`GET /shop/orders/{orderId}/fiscal-receipts`

Retrieve all fiscal receipts attached to an order.

## Response `200`

Contains an array of fiscal receipts relating to the order.

- object
  - `data` FiscalReceipt[], required
    - `id` string, mongo-id, required — The ID of the fiscal receipt.
    - `status` 'in_progress' | 'success' | 'error' — The status of the action.
    - `type` 'basket' | 'payment' | 'refund' | 'cancellation', required — The type of the receipt. A cancellation is a refund that was issued after the basket was checked out.
    - `document_issued_dates` string[] — An array of date and time values when the fiscal receipt document was issued.
    - `is_copy` boolean, required — Whether this receipt is a copy of another fiscal receipt, created by reprinting it.
    - `copy_of_fiscal_receipt_id` string, mongo-id — The ID of the original fiscal receipt this receipt is a copy of. Only present when `is_copy` is `true`.
    - `can_print` boolean, required — Whether this receipt's document can currently be printed. This is only applicable for sites in France, where a physical NF525 receipt must be issued; it is always `true` elsewhere. In France, it is `false` once the receipt has a newer copy, or once its document has already been issued.
    - `posted_at` string, date-time, nullable, required — The date and time the fiscal receipt was posted to the third party integration for signing and archiving.
    - `integration` string, required — The identifier of the third party integration used to sign and archive the receipt.
    - `integration_name` string, required — A user-friendly name for the integration.
    - `payable` PayableSummary, required — A summary of the model that the ledger line or posting relates to, usually a basket.
      - `id` string, object-id, required — The ID of the payable model.
      - `type` 'basket' | 'customer' | 'membership' | 'import', required — The type of the payable model.
      - `reference` string, required — A reference for the payable model.
      - `description` string — Further details about the payable model
    - `causer` CauserSummary — A summary of the model that caused the posting or line to be generated.
      - `id` string, object-id, required — The ID of the causer model.
      - `type` 'basket' | 'basket_item' | 'payment' | 'refund' | 'membership_charge' | 'voucher_code', required — The type of the causer model.
      - `reference` string — A reference for the causer.
    - `lines` LedgerLine[], required — An array of ledger lines that were included in this receipt.
      - `id` string, object-id, required — The ID of the ledger line.
      - `gross_amount` integer, required — The gross amount of the ledger line.
      - `net_amount` integer, required — The net amount of the ledger line.
      - `type` 'charge' | 'revenue', required — The type of the ledger line, i.e. a charge (payment or refund) or revenue.
      - `description` string, required — A description of the ledger line.
      - `revenue_centre` string, nullable, required — Contains the revenue centre ID if this line is for revenue.
      - `revenue_centre_name` string, nullable, required — A friendly name for the revenue centre.
      - `payment_processor` string, nullable, required — A key for the payment processor if this line is for a charge.
      - `payment_processor_friendly` string, nullable, required — A friendly name for the payment processor and type if this line is for a charge.
      - `mapped_value` string, nullable — The value that this line's revenue centre or payment processor was mapped to for the integration.
      - `ledger_date` string, date-time, required — The date and time the ledger event occurred.
      - `currency` string, required — The currency of the ledger line. See [Supported Currencies](/endpoints/Meta#metaSupportedCurrencies) for a list of supported currencies.
      - `payable` PayableSummary, required — A summary of the model that the ledger line or posting relates to, usually a basket.
        - `id` string, object-id, required — The ID of the payable model.
        - `type` 'basket' | 'customer' | 'membership' | 'import', required — The type of the payable model.
        - `reference` string, required — A reference for the payable model.
        - `description` string — Further details about the payable model
      - `causer` CauserSummary, required — A summary of the model that caused the posting or line to be generated.
        - `id` string, object-id, required — The ID of the causer model.
        - `type` 'basket' | 'basket_item' | 'payment' | 'refund' | 'membership_charge' | 'voucher_code', required — The type of the causer model.
        - `reference` string — A reference for the causer.
      - `status` 'pending' | 'final', nullable, required — The status of the ledger line. Lines without a status are assumed to be final.
      - `created_at` string, date-time, required — The date and time the ledger posting was created.
    - `receipt_id` string — The ID of the fiscal receipt in the third party integration.
    - `processor_data` FiscalisationProcessorData
    - `signatures` FiscalisationSignature[], nullable — An array of signatures from the integration.
      - `caption` string, required — The caption to be displayed with the signature.
      - `format` 'text' | 'json' | 'qr_code', required — The format of the signature.
      - `raw_data` string, required — The unformatted data for the signature.
      - `json_data` object — A map of key-value pairs if the format was 'json'.
    - `error` string — The error message when attempting to post the receipt, if applicable
    - `created_at` string, date-time, required — The date and time the receipt was created in Trybe.

## Other responses

- `401` — The user is unauthenticated
- `404` — The resource couldn't be found

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
