API Changes: Better Status Parameters
This morning we added some rules to invoice statuses. Until now it was possible to have some messy invoice statuses – like setting an paid invoice’s status to draft.
Now when creating an invoice, it’s only possible to set the invoice status as:
-
disputed
-
draft
-
sent
- viewed
Additionally, you are not able to set an invoice to draft if the current invoice status is:
-
paid
-
auto-paid
-
retry
-
failed
- or partial
These better status rules prevent you from getting into a hairy situation like having a “paid” invoice status without actually having a payment on record.
If you need any help or have any questions don’t hesitate to email us, we always happy to hear from you!