Get e-invoice rejection reason
Get the reason SDI rejected an e-invoice.
MCP tool fatture_in_cloud_read → get_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. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fatture_in_cloud_read",
"arguments": {
"operation": "get_einvoice_rejection_reason",
"arguments": {
"invoice_id": 88120
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": 88120,
"reason": "Customer tax code is incorrect.",
"code": "0036",
"date": "2026-10-05"
},
"isError": false
}