POST
/
invoices
/
{id}
/
send-to-spv
Send invoice to e-Factura SPV
curl --request POST \
  --url https://api.contazen.ro/v1/invoices/{id}/send-to-spv \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "test_mode": false
}'
{
  "success": true,
  "data": {
    "submission_id": "<string>",
    "status": "<string>",
    "message": "<string>"
  },
  "meta": {
    "version": "v1",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "response_time": "23.45ms"
  }
}

Authorizations

Authorization
string
header
required

Use your API key (sk_live_xxx or sk_test_xxx)

Path Parameters

id
string
required

Invoice CzUid

Body

application/json
test_mode
boolean
default:false

Use SPV test environment

Response

Invoice sent to SPV

success
boolean
data
object
meta
object