An diesem Beispiel zeigen wir Ihnen, wie Sie eine Rechnung über das Transferkonto per API einbuchen können:
Aufruf
POST https://service.runmyaccounts.com/api/latest/clients/{mandant}/invoices/R-001/payments
XML:
<?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>1090</payment_accno> </payment>
JSON:
{ "datepaid": "2011-11-23T10:39:17.945+01:00", "amount_paid": "648.0", "memo": "Zahlung", "payment_accno": "1090" }
Antwort
200 Containing the newly posted payment