Skip to main content

Purpose

Update specific fields of a receipt using the PATCH method. Only the provided fields will be updated; all other fields remain unchanged. Important Notes:
  • The PATCH method can update receipts even after they are closed (when closed_at is not null).
  • Only limited fields can be updated via PATCH (see the field list below).

HTTP Request

This endpoint requires authentication. Include your JWT in the x-token header. See Authentication for how to obtain a token and Errors for error responses.

Path Parameters

Request Body

Only the fields you want to update need to be included in the request body. Available updateable fields:

Request Example

Response

200 OK — Receipt Updated

The response returns the full receipt data with updated fields:

404 Not Found — Receipt Not Found

400 Bad Request — Validation Error

Field Reference

Updateable Fields

Notes

  • Only the fields provided in the request body will be updated; all other fields remain unchanged.
  • The response includes the complete receipt object with all integrator-relevant fields, not just the updated ones.
  • Only the specified fields (order_status, order_number, fiscal_id, lock) can be updated through this endpoint.
  • Other receipt fields are read-only and cannot be modified via this API.
  • This method can update receipts even after they are closed (when closed_at is not null).
  • The response also includes time, timestamp, and unix fields for diagnostics; these are omitted from the example for brevity.