Allocate an invoice to a bank statement event.
Using this endpoint you can update already assigned invoice to the bank statement event by sending bank statement identifier, event identifier and new invoice identifier. Supported invoice types: SALES_INVOICE, PURCHASE_INVOICE, TRAVEL_INVOICE, BILL_OF_CHARGES, PERIODIC_TAX_RETURN.
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/bankstatements/{statementId}/events/{eventId}/invoices
- Auth: HTTP bearer
Path parameters
ID of the statement
ID of the event
Query parameters
Supported only for SALES_INVOICE type. Default is false. When allocation the overdue sales invoice to bank statement, 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
ID of the invoice
Response
Invoice allocated to an event successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.