Skip to main content
POST
/
operations
/
{operationId}
/
receipt
/
send
Send receipt to customer
curl --request POST \
  --url https://api.openfiskal.com/v1/operations/{operationId}/receipt/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel": "email",
  "recipient": "customer@example.com"
}
'
{
  "delivery_id": "<string>",
  "channel": "email",
  "recipient": "<string>",
  "status": "queued"
}

Authorizations

Authorization
string
header
required

Platform API key sent as Authorization: Bearer ofk_platform_.... Platform integrators also pass OpenFiskal-Organization: org_xxx to act on behalf of a merchant.

Headers

OpenFiskal-Organization
string

Merchant organization ID. Required for platform integrators acting on behalf of a specific merchant. Omit when using an organization-scoped API key directly.

Idempotency-Key
string<uuid>

Unique key to make the request idempotent. If a request with this key was already processed, the original response is returned without re-executing the operation. Strongly recommended on all start and complete actions — these are fiscal events and must not be duplicated.

Path Parameters

operationId
string
required

Body

application/json
channel
enum<string>
required
Available options:
email,
sms
recipient
string
required
Example:

"customer@example.com"

Response

Receipt delivery initiated

delivery_id
string
channel
enum<string>
Available options:
email,
sms
recipient
string
status
enum<string>
Available options:
queued,
sent,
failed