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

Parameters: get_einvoice_rejection_reason
NameTypeDescription
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
curl https://cotlet.dev/api/v1/fatture-in-cloud/invoices/88120/einvoice-rejection-reason \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fatture-in-cloud", "get_einvoice_rejection_reason", {"invoice_id":88120})
Node.js
const result = await cotlet.call('fatture-in-cloud', 'get_einvoice_rejection_reason', {"invoice_id":88120});
CLI
cotlet call fatture-in-cloud get_einvoice_rejection_reason --data '{"invoice_id":88120}'

Example response

JSON

{
  "invoice_id": 88120,
  "reason": "Customer tax code is incorrect.",
  "code": "0036",
  "date": "2026-10-05"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.