This skill handles overdue invoices including reminder fees, reminder invoices, and partial payments. Keywords include "overdue invoice", "facture en retard", "forfalt faktura", "forfalden faktura", "überfällige Rechnung", "factura vencida", "reminder fee", "frais de rappel", "purregebyr", "partial payment", "paiement partiel", "delbetaling".
7 calls.
GET /invoice?invoiceDateFrom=2020-01-01&invoiceDateTo=2030-12-31&fields=id,invoiceNumber,amount,amountOutstanding,customer(id,name),invoiceDueDate&count=50
GET /invoice/paymentType?fields=id,description&count=10
GET /ledger/account?number=1500,3400,1920&fields=id,number,name,bankAccountNumber,isBankAccount
Find the overdue invoice: amountOutstanding > 0 and invoiceDueDate in the past.
POST /ledger/voucher
{
"date": "2026-03-21",
"description": "Purregebyr",
"postings": [
{"date": "2026-03-21", "account": {"id": <account_1500_id>}, "amountGross": <fee_amount>, "amountGrossCurrency": <fee_amount>, "row": 1, "description": "Purregebyr", "customer": {"id": <customer_id>}},
{"date": "2026-03-21", "account": {"id": <account_3400_id>}, "amountGross": -<fee_amount>, "amountGrossCurrency": -<fee_amount>, "row": 2, "description": "Purregebyr inntekt"}
]
}
PUT /invoice/<overdue_invoice_id>/:payment?paymentDate=2026-03-21&paymentTypeId=<bank_type_id>&paidAmount=<partial_amount>
PUT /ledger/account/<bank_id>
{"id": <bank_id>, "name": "Bankinnskudd", "number": 1920, "bankAccountNumber": "86011117947", "isBankAccount": true}
POST /invoice?sendToCustomer=true
{
"invoiceDate": "2026-03-21",
"invoiceDueDate": "2026-04-04",
"orders": [{
"customer": {"id": <customer_id>},
"orderDate": "2026-03-21",
"deliveryDate": "2026-03-21",
"orderLines": [{"description": "Purregebyr", "unitPriceExcludingVatCurrency": <fee_amount>, "vatType": {"id": 6}, "count": 1}]
}]
}
7 calls, 0 errors.
amountOutstanding > 0 + past invoiceDueDatecustomer ref), credit 340086011117947