Incoming Payments
Create, read, update and delete incoming payments (cobros)
📄️ Get incoming payment by ID
Returns a single incoming payment by its primary key. Returns 404 when the requested ID belongs to an outgoing payment.
📄️ Update incoming payment
Full replacement of an existing incoming payment. The `If-Match` header is accepted for API symmetry but is not enforced (Cobro has no OPTLOCK).
📄️ Delete incoming payment
Deletes an incoming payment. The `If-Match` header is accepted for API symmetry but not enforced (Cobro has no OPTLOCK).
📄️ Merge-patch incoming payment
RFC 7396 merge-patch over `application/merge-patch+json`. Send only the fields you want to change; include a field with value `null` to remove it. Use the `If-Match` header for optimistic concurrency control.
📄️ List incoming payments
Returns a paginated list of incoming payments (cobros). The constraint `issued==true` is always enforced server-side.
📄️ Create incoming payment
Records an incoming payment against an invoice, order, delivery note or quote. Exactly one of those parent IDs is required; `amount` must be > 0. The `issued` flag is forced to `true` server-side.