Skip to Main Content
Official App
Free – Google Play
Get it
FreshBooks is Loved by American Small Business Owners
FreshBooks is Loved by Canadian Small Business Owners
FreshBooks is Loved by Small Business Owners in the UK
Dev Blog

API Changes: Better Status Parameters

by Jamaal Montasser on April 20/2011

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!