Factuur::postInsert

{
  "version": "0.1",
   "data": {
     "id": 701,
     "klant_id": 78,
     "uitje_id": 601,
     "volgnummer": 45,
     "status": "concept",
     "factuur_nummer": null,
     "verstuur_factuur_op": null,
     "datum": "2025-08-18",
     "pdf_locatie": null,
     "opmerking": "Aanbetaling na bevestiging",
     "aantal_personen": 8,
     "betaaltermijn": 14,
     "referentie_klant": "KANO-2025-045",
     "reference_external": null,
     "herinnering1": null,
     "herinnering2": null,
     "calculated_totaalbedrag_inclusief_btw": "320.00",
     "calculated_totaalbedrag_exclusief_btw": "264.46",
     "mollie_transaction_id": null,
     "crediteert_factuur_id": null,
     "bedrijf_id": 3,
     "btw_verlegd": false,
     "btw_bedragen_cache": "{\"21\": \"55.54\"}",
     "context": "Kano Dagtocht"
   },
  "meta": {}
}

Explanation:

  • id: integer|null.

  • klant_id: integer.

  • uitje_id: integer.

  • volgnummer: integer|null.

  • status: non-empty-string. Allowed values: concept, template, verzonden, deels_betaald, betaald.

    Explanation: Invoice statuses; see TaribaseFactuur status constants.

  • factuur_nummer: string|null.

  • verstuur_factuur_op: non-empty-string|null. ISO 8601 datetime when the invoice email was sent.

  • datum: non-empty-string|null. ISO date YYYY-MM-DD (invoice date).

  • pdf_locatie: string|null.

  • opmerking: string|null.

  • aantal_personen: integer|null.

  • betaaltermijn: integer|null.

  • referentie_klant: string|null.

  • reference_external: string|null.

  • herinnering1: non-empty-string|null. ISO 8601 datetime of first reminder.

  • herinnering2: non-empty-string|null. ISO 8601 datetime of second reminder.

  • calculated_totaalbedrag_inclusief_btw: numeric-string|null.

  • calculated_totaalbedrag_exclusief_btw: numeric-string|null.

  • mollie_transaction_id: string|null.

  • crediteert_factuur_id: integer|null.

  • bedrijf_id: integer.

  • btw_verlegd: boolean.

  • btw_bedragen_cache: string. JSON string mapping VAT percentages to amounts, e.g. {“21”:”55.54”}.

  • context: non-empty-string.