Receipts

Retrieve a receipt by number

Returns the receipt carrying number number in year year (the year it was issued in) — the number shown in the app, e.g. 12/2026. Numbers repeat across sezionali: pass sezionale_id (a sezionale id, or default for the series without one) to search one series; without it every series is searched.

The response is identical to GET /v1/receipts/{id}. A number that matches more than one document (repeated in historical data) returns 409 ambiguous_number with their ids in candidates.

get/v1/receipts/by-number/{year}/{number}

Request

  • Base URL: https://api.officina.it
  • URL: https://api.officina.it/v1/receipts/by-number/{year}/{number}
  • Auth: HTTP bearer

Response

The receipt, exactly as retrieving it by id returns it.

Changes

No recorded changes to this operation across all 1 revision of this API.