update_outgoing_payment
Modify outgoing payment details in Bexio, including amount, execution date, receiver info, and payment method. Enforces validation rules for bill pending amounts and business year constraints.
Instructions
Edit Outgoing Payment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Must be less or equal to Bill's 'pending_amount'. Maximum of 17 digits and maximum of 2 decimal digits. | |
| message | No | Not allowed for QR, MANUAL, CASH_DISCOUNT. | |
| fee_type | No | Required for IBAN. Not allowed for QR, MANUAL, CASH_DISCOUNT. Must be set to NO_FEE when 'receiver_iban' is a domestic IBAN (same country as 'sender_bank_account_id' Bank Account IBAN country). Cannot be set to NO_FEE when 'receiver_iban' is not a domestic IBAN. | |
| payment_id | Yes | ||
| reference_no | No | Not allowed for IBAN, MANUAL, CASH_DISCOUNT. For QR, when 'receiver_iban' is QR Iban then 'reference_no' must be valid Isr Account number. For QR, when 'receiver_iban' is not QR Iban then 'reference_no' must be valid Creditor Reference. | |
| receiver_city | No | Required for IBAN, QR. Not allowed for MANUAL, CASH_DISCOUNT. | |
| receiver_iban | No | Required for IBAN, QR. Not allowed for MANUAL, CASH_DISCOUNT. Must be valid Iban for IBAN Payment or must be valid QR Iban for QR Payment. | |
| receiver_name | No | Required for IBAN, QR. Not allowed for MANUAL, CASH_DISCOUNT. | |
| execution_date | Yes | Must be after or equal to Bill's 'bill_date'. Cannot be in CLOSED or LOCKED Business Year. Must be in existing Business Year. For IBAN and QR must be in present or future and cannot be on the weekend. | |
| receiver_street | No | Required for IBAN, QR. Not allowed for MANUAL, CASH_DISCOUNT. | |
| is_salary_payment | Yes | Allowed to be set to true only for IBAN. | |
| receiver_house_no | No | Required for IBAN, QR. Not allowed for MANUAL, CASH_DISCOUNT. | |
| receiver_postcode | No | Required for IBAN, QR. Not allowed for MANUAL, CASH_DISCOUNT. | |
| receiver_country_code | No |