Get e-invoice rejection reason
Get the reason SDI rejected an e-invoice.
GET https://cotlet.dev/api/v1/fatture-in-cloud/invoices/{invoice_id}/einvoice-rejection-reason
read
Returns the reason text, the SDI error code and the date of the rejection for an invoice that SDI discarded. It changes nothing; correcting and resending are separate steps.
Parameters
| Name | Type | Description |
|---|---|---|
| company_id integer | integer | Company ID. Optional when your account has one company. |
| invoice_id integer required | integer | Invoice ID from list_invoices or create_invoice. |
Request
curl https://cotlet.dev/api/v1/fatture-in-cloud/invoices/88120/einvoice-rejection-reason \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("fatture-in-cloud", "get_einvoice_rejection_reason", {"invoice_id":88120}) const result = await cotlet.call('fatture-in-cloud', 'get_einvoice_rejection_reason', {"invoice_id":88120}); cotlet call fatture-in-cloud get_einvoice_rejection_reason --data '{"invoice_id":88120}' Example response
{
"invoice_id": 88120,
"reason": "Customer tax code is incorrect.",
"code": "0036",
"date": "2026-10-05"
}