Calculate late-payment interest (Poland)
calculate_late_payment_interestCalculates Polish late-payment interest for one or more overdue amounts — statutory (art. 481 Civil Code), commercial-transactions or a custom rate — using the current National Bank of Poland reference rate, exact to the grosz. Returns days late, the rate and the interest. To issue a formal interest note use create_interest_note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ISO 4217 code of the amounts, default PLN | |
| invoices | Yes | Invoices or other amounts paid late / still unpaid | |
| rate_type | No | statutory = Polish statutory late-payment interest (art. 481 Civil Code, default); commercial = rate for transactions between businesses; custom = contractual rate given in annual_rate_percent | |
| annual_rate_percent | No | Annual rate in percent when rate_type is custom, e.g. 12.5 |