bexio Outgoing Payments
bexio_outgoing_paymentsManage outgoing payments for purchase bills: list payments, create new payments (IBAN, QR, manual, cash discount), update or delete existing ones.
Instructions
Manage outgoing payments for purchase bills (bexio purchase 4.0 API). Payment ids are UUID strings. Actions: "list" (bill_id required — lists the payments of one bill; optional limit/page/order asc|desc/sort), "get" (payment by id), "create" (payload required: bill_id, payment_type IBAN|MANUAL|CASH_DISCOUNT|QR, execution_date, amount, currency_code, exchange_rate, is_salary_payment; IBAN/MANUAL/QR also need sender_bank_account_id and IBAN/QR need sender/receiver bank details; the bill must not be a draft and amount must not exceed its pending_amount), "update" (id or payload.payment_id + payload; note the API takes the payment id in the request body, not the URL; editable fields: execution_date, amount, is_salary_payment, fee_type, reference_no, message and receiver address fields), "delete" (id; permanently deletes the payment — cannot be undone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Outgoing payment id (UUID; required for get/update/delete) | |
| page | No | Page number for "list" | |
| sort | No | Field to sort by for "list" | |
| limit | No | Results per page for "list" | |
| order | No | Sorting order for "list" | |
| action | Yes | Operation to perform | |
| bill_id | No | Bill id whose payments to list (required for "list") | |
| payload | No | Outgoing payment fields. Required on create: bill_id, payment_type, execution_date, amount, currency_code, exchange_rate, is_salary_payment (plus sender_bank_account_id for IBAN/MANUAL/QR and sender/receiver details for IBAN/QR). Required on update: payment_id (or "id" argument), execution_date, amount, is_salary_payment. |