Search

getPrepaymentPercentages

Retrieve prepayment percentages.

This is a list of predefined options that user can choose from — to set what fraction of the invoice the customer must pay in advance. This list is used:

  • For Laybys in POS;
  • For Prepayment Invoices in ERPLY back office.

Input parameters

Parameter nameDescriptionPossible valueRequired
changedSinceRetrieve only items that have been added or modified since the specified timestamp. Use it to keep a local database in sync with ERPLY.Integer (Unix timestamp)

Response

Field nameTypeDescription
percentageIDInteger
percentageDecimal0 ≤ percentage ≤ 100
If you have erroneously defined a percentage in ERPLY backend that is not numeric, or smaller than 0, or greated than 100, it gets returned as 0 (in the first two cases) or 100 (in the last case).
addedUnix timestampCreation time.
lastModifiedUnix timestampLast modification time.