Skip to main content
POST
Create a receipt

Authorizations

Authorization
string
header
required

Use your API key (sk_live_xxx or sk_test_xxx)

Body

application/json

Create a chitanță. When invoice_id is supplied, a linked FirmBillPayment row is created and the invoice's paid state is recomputed. Standalone chitanțe (no invoice) default to type receipt (numerar).

client_id
string
required

Client CzUid (also accepts clientId)

amount
number
required

Total amount

invoice_id
string

Optional invoice CzUid to pair this chitanță with

currency
string
default:RON
payment_date
string

Date in YYYY-MM-DD or DD-MM-YYYY (defaults to today)

observations
string

Free-text note. Falls back to "Încasare factură {nr}" or "Încasare" when omitted.

type
enum<string>
default:receipt

Payment method (alias-tolerant). Only used when invoice_id is set.

Available options:
receipt,
numerar,
cash,
bank_order,
transfer,
op,
card,
fiscal_receipt,
bon_fiscal,
other
language
string
default:ro
number_id
string

Chitanță series CzUid. Defaults to firm's primary chitanță series.

exchange_rate
number

Required when currency differs from firm accounting currency.

Response

Receipt created

success
boolean
data
object

A chitanță (cash receipt) document.

meta
object