View on GitHub

runmyaccounts-rest-api

RESTful API Documentation

Run my Accounts API: Beispiel D1.1 - Zahlung einbuchen

Aufruf:

POST https://service.runmyaccounts.com/api/latest/clients/{mandant}/invoices/R-001/payments

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment>
  <datepaid>2011-11-23T10:39:17.945+01:00</datepaid>
  <amount_paid>648.0</amount_paid>
  <source/>
  <memo>Zahlung</memo>
  <payment_accno>1030</payment_accno>
</payment>

or

{
  "datepaid": "2011-11-23T10:39:17.945+01:00",
  "amount_paid": "648.0",
  "memo": "Zahlung",
  "payment_accno": "1030"
}

Antwort:

200 Containing the newly posted payment