operator-payments

Propose the first document number for a supervision batch

Highest number already used in the series, plus one. Sales invoices and credit notes share the series and the portal does not refuse a duplicate, so the credit notes are read from Zucchetti; if that read fails no number is proposed.

get/api/operator-payments/supervision-invoice/next-document-number

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/operator-payments/supervision-invoice/next-document-number
  • Auth: HTTP bearer

Query parameters

seriesstring required

Sezionale, e.g. 'P'

yearinteger required

Competence year of the batch

Response

Successful Response

seriesstring required
yearinteger required
next_document_numberinteger nullable
last_invoice_numberinteger nullable

Highest number issued by us for this series/year (local table)

last_credit_note_numberinteger nullable

Highest credit-note number in the portal for this series/year

credit_notes_checkedboolean

False when the portal lookup failed; no number is proposed

detailstring nullable

Why no number is proposed, when that happens

Changes

No recorded changes to this operation across all 55 revisions of this API.