---
title: "Receipt of a delivery: the proof of what was delivered, how much it cost and with which hash."
method: GET
path: "/api/recibo/{id}"
---

# Receipt of a delivery: the proof of what was delivered, how much it cost and with which hash.

`GET /api/recibo/{id}`

## Request

- Base URL: `https://editalmd.com`
- URL: `https://editalmd.com/api/recibo/{id}`
- Auth: none declared

Returns: { recibo{id,recurso,documento_id,preco_usd,modo,sha256_entregue,bytes,criado_em} }

## Path parameters

- `id` string, required

## Response `200`

{ recibo{id,recurso,documento_id,preco_usd,modo,sha256_entregue,bytes,criado_em} }

- object
  - `recibo` Recibo, required: Proof of delivery: what was paid, how much, how and the hash of what was delivered.
    - `id` string, required: Receipt identifier (32 hex).
    - `recurso` string, required: Recurso entregue, ex.: `documento/123/markdown`.
    - `documento_id` integer, nullable, required: Documento entregue.
    - `preco_usd` string, required: Charged price: `$0.00` for a sample.
    - `modo` string, required: `gratuito`, `homolog` or `onchain`.
    - `sha256_entregue` string, required: SHA-256 of the delivered markdown, or `nao_entregue`.
    - `bytes` integer, required: Size of what was delivered.
    - `criado_em` string, required: Delivery instant in ISO 8601.

## Other responses

- `404`: Receipt not found.

---

[API](https://skmtc.dev/editalmd/apis/editalmd.md) - [All operations](https://skmtc.dev/editalmd/apis/editalmd/llms.txt) - [OpenAPI document](https://skmtc.dev/editalmd/apis/editalmd/revisions/7c50123e63b6?raw)
