Calculate late payment interest on an invoice
calculate_late_payment_interestCalculate the statutory interest (Bank of England base rate plus 8%) and fixed compensation a business can claim on a late-paid commercial invoice under the Late Payment of Commercial Debts Act, from the amount, the due date and the payment date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Unpaid invoice amount, VAT included if charged | |
| paidOn | No | The day it was paid; defaults to today | |
| dueDate | Yes | The last day payment was due |