Skip to main content
POST

Authorizations

Authorization
string
header
required

Base64-encode your API key and pass it. Enter the API key as the username and leave the password empty.

Headers

Bolta-Client-Reference-Id
string
required

Enter a client reference ID between 1 and 255 characters. The API uses this value as the idempotency key. If the same API key retries with the same client reference ID, request content, and request type, the API returns 202 Accepted with the existing request's issuanceKey. If the request content or type differs, the API returns 409 Conflict with IDEMPOTENCY_CONFLICT. To check the status later, pass this value as clientReferenceId. Authentication guide

Required string length: 1 - 255
Pattern: \S
Bolta-Webhook-Test-Code
enum<string>

Use this header only to reproduce an issuance failure webhook with a test key. Enter an issuance failure code, and the API sends the corresponding failure webhook. Do not use this header in production (live). Cash receipt webhooks

Available options:
INVALID_ISSUER,
INVALID_RECIPIENT_IDENTIFIER,
UNKNOWN

Body

application/json

Cash receipt issuance request body

itemName
string
required

Item name (up to 20 characters)

Required string length: 1 - 20
Example:

"Service fee"

issuer
object
required

Information about the cash receipt supplier.

recipient
object
required

Recipient information. Set value based on type. For detailed rules, see the Cash receipt guide.

amount
object
required

The issuance amount. Each field and the total (supplyAmount + vatAmount + taxFreeAmount) must be no greater than 9,999,999,999, and the total must be greater than 0.

Response

The API accepted the issuance request. Check the final result via webhook or the status API.

issuanceKey
string
required

The cash receipt issuance key. Store the entire string as-is because its format and length may change.

Example:

"MRK98JGC5KOAEIPGK8U6UO05I3EAQPLI8OE78A3I"