Exports add a Suplidos sheet for disbursements
When an exported invoice has SUPLIDO lines, the Excel export adds a Suplidos sheet with one row per source invoice.
The sheet goes at the end of the workbook, after the sheets of the formats you asked for. Columns: «Número factura», «Fecha expedición», «Cliente», «NIF cliente», «Factura origen», «NIF emisor origen» and «Importe factura origen». The amount is the total_to_pay of the source invoice, or the line total for a manual disbursement with no linked invoice.
What else changed
- It is not a format. It is added whatever
formatsyou send, and you cannot request it or opt out of it. Code that reads sheets by position is unaffected; code that expects a fixed number of sheets may need a change. - A source invoice you cannot see shows only its number, when known, with the issuer NIF and amount empty.
Endpoints
- POST/v1/companies/{company_id}/invoices/exportsAdds the
Suplidossheet when there are disbursement lines
Where to go next
Company stats count voided invoices by how they were voided
`invoice_count` and `last_invoice_at` now leave out invoices voided as issued by mistake, and keep an invoice voided by a total corrective.
The invoice list date range uses the operation date when there is one
`date_from` and `date_to` on the invoice list now match the operation date when the invoice has one, and the issue date otherwise.