Curently are avaliable POST functions:
POST /invoices Create invoice object
POST /invoices/{id}/lines Add a line to a given invoice
POST /invoices/{id}/validate Validate an invoice
I think below function is missing:
POST /invoices/{id}/payment
with example body:
{
“payment_type” : “cash”,
“pay_date” : “1234567”,
“value”:“100,00”, //this is optional?
“comment”:“this is example payment”
}