API resource add payment to vendor invoice

POST https://service.runmyaccounts.com/api/latest/clients/{clientname}/payables/{invoice_number}/payments

Vendor invoice payment entity

ElementDescriptionDefaultTypeMandatory
idInternal unique id of the paymentINTEGER
datepaidDate of paymentDATEYes
sourceTEXT
memoTEXT
amount_paidDOUBLEYes
payment_accno1020TEXTYes
currencyCHFcurrency code
exchangerate1.0DOUBLE

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"
}

 

War dieser Artikel hilfreich?
Dislike 0
Ansichten: 19