BexioApiClient. SalesOrderManagement. Payment
(bexio_api_client v2.0.0)
Copy Markdown
Payment of an invoice
Summary
Functions
Create a new payment
Types
@type t() :: %BexioApiClient.SalesOrderManagement.Payment{ bank_account_id: integer() | nil, cash_discount?: boolean(), client_account_redemption?: boolean(), date: Date.t(), id: integer(), kb_bill_id: integer() | nil, kb_credit_voucher_id: integer() | nil, kb_credit_voucher_text: String.t(), kb_invoice_id: integer() | nil, payment_service_id: integer() | nil, title: String.t(), value: Decimal.t() }
Payment of an invoice
Fields:
:date- date of the payment:value- value of the payment:bank_account_id- references a bank account object:title- title of the payment (e.g. "Received Payment"):payment_service_id- references a payment service (1 PayPal, 2 Stripe, 3 SIX Payments):client_account_redemption?- whether the payment is a client account redemption:cash_discount?- whether the payment is a cash discount:kb_invoice_id- the invoice the payment belongs to:kb_credit_voucher_id- the credit voucher the payment belongs to:kb_bill_id- the bill the payment belongs to:kb_credit_voucher_text- text of the credit voucher