Invoice Payment API

Description Method URL
Mark payment POST /api/v1/invoices_payment/{id or invoicenr}

All attributes used for invoices payments

Attribute Type Note
daterequired date Date of the payment. Please use YYYY-MM-DD
amountrequired string The payment amount, when designated as 'full', it will mark the outstanding payment amount as the payment amount.
method string The used payment method

Mark payment

POST /api/v1/invoices_payment/{id or invoicenr}
$request->buildPostBody(array(
  'date' => '2020-01-30',
  'amount' => 'full',
  'method' => 'Cash'
));

Or as a JSON:

{
  "date": "2020-01-30",
  "amount": "full",
  "method": "cash"
}