Skip to main content
POST
/
receipts
/
{receiptId}
/
send
Send receipt
curl --request POST \
  --url https://api.openfiskal.com/v1/receipts/{receiptId}/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --header 'X-OpenFiskal-Merchant: <x-openfiskal-merchant>' \
  --data '
{
  "channel": "email",
  "recipient": "<string>",
  "locale": "<string>"
}
'
{
  "id": "<string>",
  "receipt_id": "<string>",
  "channel": "email",
  "recipient": "<string>",
  "status": "queued",
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://dev.openfiskal.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required
X-OpenFiskal-Merchant
string
required

Path Parameters

receiptId
string
required

Body

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

Response

Receipt delivery accepted

id
string
required
receipt_id
string
required
channel
enum<string>
required
Available options:
email,
sms
recipient
string
required
status
enum<string>
required
Available options:
queued,
sent,
failed
created_at
string<date-time>
required