Bank statements

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.

put/bankstatements/{statementId}/events/{eventId}/invoices

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

statementIdinteger required

ID of the statement

eventIdinteger required

ID of the event

Query parameters

addPenalExpenseboolean

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

integer required

ID of the invoice

Response

Invoice allocated to an event successfully.

messagestring

Message with detail information about a result of action.

Changes

No recorded changes to this operation across all 1 revision of this API.