Is it possible to mark a bill as paid via the api? I am looking to change the status to ‘Paid’ and also add a ‘paid_on’ date. However, when I send the put request with the necessary json, these attributes do not seem to be editable. This is the json body I am sending over the API:
A bill needs a corresponding bank payment to be marked as paid, so normally you would need to link a transaction in the company’s bank accounts to the bill. It can’t be marked as paid without a payment recorded to balance it.
Assuming the user has set up a bank feed and there’s a transaction for the bill payment, then as an API integrator, you can create bank transaction explanations via the API using the paid_bill attribute set to the URL of the bill. This will explain and link the transaction to the bill, causing it to be marked as paid if the payment equals the bill value. The paid on date will also be filled in from the linked transaction.