Record an invoice payment (collect)
oblio_collect_invoiceDestructive
Record that an issued invoice was paid (receipt, bank order, card...). Changes the invoice's paid status and is not reversible from the API. Needs confirm: true and the user's approval of the amount. Not retried. PUT /api/docs/invoice/collect.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cif | Yes | CIF of YOUR company in Oblio (from oblio_list_companies), for example RO37311090. | |
| number | Yes | Document number within the series, digits only (0055 and 55 are the same). | |
| collect | Yes | ||
| confirm | No | Must be true. Set it only after the user has confirmed this exact action in this conversation. | |
| series_name | Yes | Document series name (from oblio_list_series), for example FCT. |