---
title: "Generate an RMT receipt document for an order"
method: GET
path: "/shop/orders/{orderId}/rmt-receipt"
tags: ["Orders"]
---

# Generate an RMT receipt document for an order

`GET /shop/orders/{orderId}/rmt-receipt`

Generate a Registered Massage Therapist (RMT) receipt document for a
submitted or settled order. Only available for Canadian sites.

Pass an `Accept: text/html` request header to receive an HTML body in the
response when the generator produces one. Without the header, callers
always receive the structured JSON form.

Returns `403 Forbidden` when the site is not a Canadian site.
Returns `422 Unprocessable Entity` when the order has not been checked out.

## Response `200`

The generated Registered Massage Therapist (RMT) receipt document.
Either JSON (default) or HTML when the site's generator produces it
and the request opted in via `Accept: text/html`.

- object
  - `data` RmtReceiptDocument, required — A Registered Massage Therapist (RMT) receipt document generated from an order's ledger lines. Only produced for Canadian sites.
    - `type` string, required — The kind of document produced — typically `json` for structured payloads or `html` for HTML receipts. When `html`, the same body is also available as a `text/html` response when the caller opts in via `Accept`.
    - `contents` string, nullable — The rendered HTML body of the receipt. Present when the document `type` is `html`.
    - `filename` string, nullable — The suggested filename for the receipt document, if applicable.
    - `url` string, nullable — A URL pointing to the receipt document, if applicable.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[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)
