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 name Description Possible value Required
changedSince  Retrieve 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 name Type Description
percentageID  Integer    
percentage  Decimal  0 ≤ 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).  
added  Unix timestamp  Creation time.  
lastModified  Unix timestamp  Last modification time.