autopilot

List Invoices

The caller's invoices, newest first; year narrows to one tax year.

Unlike /incassi, an absent year means every year rather than the current one. The ledger is read per year because the estimate it feeds is a per-year number, whereas the invoice list is a working document set: a draft written on 28 December and issued in January would vanish from its own list on New Year's Day if the default narrowed it.

The read polls first (AP-036), so what it returns already reflects anything SdI answered while no webhook reached us. The poll is bounded and throttled in the store, and year is deliberately not passed down to it: a filtered view is still a whole account's worth of in-flight documents, and letting the filter decide what converges would make an invoice's status depend on which tab the user happens to have open.

get/api/autopilot/invoices

Request

  • Base URL: https://api.taxcompass.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.taxcompass.it/api/autopilot/invoices
  • Auth: HTTP bearer

Query parameters

yearinteger nullable

Response

Successful Response

client_idstring uuid nullable
atecostring nullable
issue_datestring date nullable
due_datestring date nullable
causalestring nullable
idstring uuid required
yearinteger required
numberinteger nullable
doc_typestring
status'draft' | 'sending' | 'issued' | 'delivered' | 'not_delivered' | 'rejected' | 'error' | 'imported'
total_amountstring
bollo_appliedboolean
credit_note_ofstring uuid nullable
client_labelstring nullable
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.