cURL
curl --request POST \ --url https://api.contazen.ro/v1/invoice-series \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "FACT", "document_type": "fiscal", "description": "<string>", "start_number": 1, "is_primary": false } '
{ "success": true, "data": { "id": "<string>", "object": "invoice_series", "name": "<string>", "document_type": "fiscal", "description": "<string>", "start_number": 123, "next_number": 123, "format": "FACT-{year}-{number}", "is_primary": true, "is_used": true, "year": 123, "created_at": 123 }, "meta": { "version": "v1", "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "response_time": "23.45ms" } }
Create a new invoice numbering series
Use your API key (sk_live_xxx or sk_test_xxx)
Series prefix/name (e.g., "FACT", "PF")
"FACT"
fiscal
proforma
First invoice number in the series
Set as the default series for this document type
Series created
Show child attributes
Was this page helpful?