Skip to content
Reference

Receipt delivery by e-mail

Sending a fiscalized receipt to the customer from the platform, with the verification link and PDF attachments (E-mail module).

3 operations

List the deliveries of a receipt

get/v1/receipt-deliveries

Scopefiscal:read

Every e-mail delivery of one fiscal document with status and attempt count.

Parameters

listReceiptDeliveries: Parameters
FieldDescription
fiscalDocumentIdrequiredIn: queryType: uuid

Responses

listReceiptDeliveries: Responses
200OKDeliveries in creation order (at most 100)
422Unprocessable ContentThe command violates a Boka or fiscal ruleErrorCode
Response:

Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.

listReceiptDeliveries: Response
FieldDescription
itemsrequiredType: array<ReceiptDelivery>
idrequiredType: uuid
fiscalDocumentIdrequiredType: uuid
channelrequiredType: const "EMAIL"
recipientrequiredType: string
languagerequiredType: ReceiptDeliveryLanguageLanguage of the message; the receipt itself is the official journal rendered into the attached PDFs.

Valuessr-Cyrlsr-Latnen

attachmentsrequiredType: ReceiptDeliveryAttachmentsReturned in canonical order (a4, 80mm, 58mm, png). An empty list sends the link only.

Valuesa480mm58mmpngmax 4 itemsunique

statusrequiredType: string

ValuesQUEUEDSENDINGDELIVEREDFAILED

attemptsrequiredType: integer

>= 0

failureCoderequiredType: string | null (nullable)
createdAtrequiredType: date-time
deliveredAtrequiredType: date-time | null (nullable)
updatedAtrequiredType: date-time

E-mail a receipt

post/v1/receipt-deliveries

Scopefiscal:writeRequires Idempotency-Key

Queues one message with the verification link and the chosen PDF attachments, in the taxpayer's language. Works only for a fiscalized document and only when the taxpayer enabled delivery in settings; production requires the E-mail module. A delivery status is never proof of fiscalization.

Contract notes (OpenAPI)

Queues one email delivery of one fiscalized document from the platform mailbox, in the taxpayer's chosen language, with the official verification URL as an active link and the A4 PDF attached. Delivery is queued only after the signed result is durably stored, only when the taxpayer enabled email delivery in its settings (422 RECEIPT_DELIVERY_DISABLED otherwise; the taxpayer then delivers through its own system), and only while the platform transport is configured (503 RECEIPT_DELIVERY_UNAVAILABLE otherwise). An advance refund, and a copy of one, are refused with 422 RECEIPT_DELIVERY_DOCUMENT_NOT_ISSUED_TO_BUYER: the official guideline never issues that document to the buyer, so send the final receipt of the advance case instead. Every other kind is delivered. A delivery outcome is never evidence of fiscalization. Tenant branding stays outside the fiscal receipt boundary.

Request bodyapplication/json

createReceiptDelivery: Request body
FieldDescription
fiscalDocumentIdrequiredType: uuid
channelrequiredType: const "EMAIL"
recipientrequiredType: email

max 320

languageoptionalType: ReceiptDeliveryLanguage | null (nullable)Defaults to the taxpayer's setting.

Valuessr-Cyrlsr-Latnen

attachmentsoptionalType: ReceiptDeliveryAttachments | null (nullable)Defaults to the taxpayer's setting.

Valuesa480mm58mmpng

Responses

createReceiptDelivery: Responses
200OKIdempotent replayReceiptDelivery
202AcceptedDelivery queuedReceiptDelivery

Response headers: Location

404Not FoundResource does not exist within the authenticated tenant scopeErrorCode
409ConflictThe key was already used with different canonical contentIdempotencyConflict
422Unprocessable ContentThe command violates a Boka or fiscal ruleErrorCode
503Service UnavailableThe platform mail transport is not configured
Response: ReceiptDelivery

Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.

createReceiptDelivery: Response
FieldDescription
idrequiredType: uuid
fiscalDocumentIdrequiredType: uuid
channelrequiredType: const "EMAIL"
recipientrequiredType: string
languagerequiredType: ReceiptDeliveryLanguageLanguage of the message; the receipt itself is the official journal rendered into the attached PDFs.

Valuessr-Cyrlsr-Latnen

attachmentsrequiredType: ReceiptDeliveryAttachmentsReturned in canonical order (a4, 80mm, 58mm, png). An empty list sends the link only.

Valuesa480mm58mmpngmax 4 itemsunique

statusrequiredType: string

ValuesQUEUEDSENDINGDELIVEREDFAILED

attemptsrequiredType: integer

>= 0

failureCoderequiredType: string | null (nullable)
createdAtrequiredType: date-time
deliveredAtrequiredType: date-time | null (nullable)
updatedAtrequiredType: date-time

Read a delivery

get/v1/receipt-deliveries/{receiptDeliveryId}

Scopefiscal:read

The state of one delivery: QUEUED, SENDING, DELIVERED or FAILED with a code.

Parameters

getReceiptDelivery: Parameters
FieldDescription
receiptDeliveryIdrequiredIn: pathType: uuid

Responses

getReceiptDelivery: Responses
200OKDeliveryReceiptDelivery
404Not FoundResource does not exist within the authenticated tenant scopeErrorCode
Response: ReceiptDelivery

Field descriptions come from the OpenAPI contract; field names and values are identical in both languages.

getReceiptDelivery: Response
FieldDescription
idrequiredType: uuid
fiscalDocumentIdrequiredType: uuid
channelrequiredType: const "EMAIL"
recipientrequiredType: string
languagerequiredType: ReceiptDeliveryLanguageLanguage of the message; the receipt itself is the official journal rendered into the attached PDFs.

Valuessr-Cyrlsr-Latnen

attachmentsrequiredType: ReceiptDeliveryAttachmentsReturned in canonical order (a4, 80mm, 58mm, png). An empty list sends the link only.

Valuesa480mm58mmpngmax 4 itemsunique

statusrequiredType: string

ValuesQUEUEDSENDINGDELIVEREDFAILED

attemptsrequiredType: integer

>= 0

failureCoderequiredType: string | null (nullable)
createdAtrequiredType: date-time
deliveredAtrequiredType: date-time | null (nullable)
updatedAtrequiredType: date-time