Mark as paid.
Mark payment events as paid. Supported invoice types: SALES_INVOICE, PURCHASE_INVOICE, TRAVEL_INVOICE, SALARY, PERIODIC_TAX_RETURN, BILL_OF_CHARGES. Payment event should always be requested with an invoice currency. In case if currency on the invoice and in the environment are different, amount is converted to environment currency using currency rate from the invoice.
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/invoices/{invoiceId}/paymentevents/markpaid
- Auth: HTTP bearer
Path parameters
Invoice identifier
Query parameters
Supported only for SALES_INVOICE type. Default is false. When marking the overdue sales invoice as paid, if you want to automatically include a penal expense in the business partner's next sales invoice, then call the endpoint with addPenalExpense=true. Automatic handling of collection and penal costs setting must be enabled prior to this and penal expense product must be already defined.
Request body
Example request
{
"currency": "USD"
}Response
Request to mark invoice as paid processed correctly.
Example response
{
"currency": "EUR",
"paidCurrency": "SEK"
}Changes
No recorded changes to this operation across all 1 revision of this API.