POST https://service.runmyaccounts.com/api/latest/clients/{clientname}/payables/{invoice_number}/payments
Vendor invoice payment entity
Element | Description | Default | Type | Mandatory |
---|---|---|---|---|
id | Internal unique id of the payment | INTEGER | ||
datepaid | Date of payment | DATE | Yes | |
source | TEXT | |||
memo | TEXT | |||
amount_paid | DOUBLE | Yes | ||
payment_accno | 1020 | TEXT | Yes | |
currency | CHF | currency code | ||
exchangerate | 1.0 | DOUBLE |
Examples:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <vendorpayments> <vendorpayment> <datepaid>2013-08-01T00:00:00+02:00</datepaid> <amount_paid>50.0</amount_paid> <source></source> <memo>Teilzahlung</memo> <payment_accno>1020</payment_accno> </vendorpayment> </vendorpayments>
{ "datepaid": "2013-08-01T00:00:00+02:00", "amount_paid": "50.0", "source": "", "memo": "Teilzahlung", "payment_accno": "1020" }