Dettaglio documento emesso
fic_get_issued_documentRetrieve an issued document by ID or number/year to view client details, line items, totals, installments, e-invoice status, and a temporary PDF link.
Instructions
Dettaglio di un documento emesso, per ID oppure per numero e anno ("dettaglio della fattura 33/2026" -> {number:33, year:2026}). Restituisce cliente, righe con aliquote, totali, metodo di pagamento, rate con stato (pagata, non pagata, scaduta, conto di saldo, data di pagamento), stato della fattura elettronica, se è bloccato e il link temporaneo al PDF. Shows one issued document by ID or by number and year, with items, totals, installments and e-invoice status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Tipo di documento emesso: invoice (fattura), credit_note (nota di credito), proforma, quote (preventivo), order (ordine), delivery_note (DDT), receipt (ricevuta), work_report (rapportino), supplier_order (ordine a fornitore), self_own_invoice / self_supplier_invoice (autofatture). | invoice |
| year | No | Anno del documento, obbligatorio con number. | |
| number | No | Numero del documento (in alternativa all’ID), per esempio 33 per "33/2026". | |
| numeration | No | Sezionale, se il numero è ambiguo. | |
| document_id | No | ID del documento in Fatture in Cloud. |