[Breaking Change Notice] Validation of sales tax rates and categories on invoice and estimate items

Hello API users,

:warning: This notice is for FreeAgent API users who create or update invoices, credit notes or estimates. The format of these endpoints isn’t changing, and most integrations won’t need to do anything. However, if your integration sends sales tax rates or categories that FreeAgent doesn’t allow, those requests will start to fail.

From 15th February 2027, FreeAgent will reject invoice, credit note and estimate items (referred to below as “items”) that have an invalid sales_tax_rate or category. We’re making this change to bring API behaviour in line with our web app (where only permissible values are presented), and to make sure tax and category data can be processed appropriately.

After this date, requests that include an invalid value will fail with a 422 Unprocessable Entity response and an error that explains which field is invalid.

Which endpoints are affected?

Any request that creates or updates items, including:

  • POST /v2/invoices and PUT /v2/invoices/:id with nested invoice_items
  • POST /v2/credit_notes and PUT /v2/credit_notes/:id with nested credit_note_items
  • POST /v2/invoice_items and PUT /v2/invoice_items/:id
  • POST /v2/estimates and PUT /v2/estimates/:id with nested estimate_items
  • POST /v2/estimate_items and PUT /v2/estimate_items/:id

Sales tax rates

This applies to UK companies that are VAT registered on the document date, for documents that aren’t marked as EC Services or Reverse Charge.

When you create an item or change its sales_tax_rate, the rate must be one of the official UK VAT rates on the dated_on date of the invoice, credit note or estimate:

Rate Valid for documents dated
Standard rate: 20.0 On or after 4th January 2011
Reduced rate: 5.0 Any date
Zero rate: 0.0 Any date
Exempt: send "sales_tax_status": "EXEMPT" Any date
Temporary reduced rate: 12.5 1st October 2021 to 31st March 2022 only

If you don’t send a sales_tax_rate when you create an item, FreeAgent will still use the standard rate for the document date, as it does now.

Any other value will be rejected. For example, 17.5 (the standard rate before 2011), 12.5 on an invoice dated outside the period above, or a value such as 19.99.

Historically added items won’t be affected, and you can still update existing items that already have an invalid rate, as long as you don’t change the sales_tax_rate.

Categories

An item’s category must be a sales category. Valid categories are:

  • 001 Sales
  • Any custom sales categories that the company has created
  • For invoices from companies using the Construction Industry Scheme (CIS), the CIS income category that matches the CIS rate

Other categories, such as other income, expense, asset or liability categories, will be rejected. For example, 101 Cost of Sales.

If you don’t send a category, FreeAgent will use 001 Sales, as it does now.

Items with an item_type of VAT are always posted to the Deferred VAT category, and any category you send is ignored. You can’t use the Deferred VAT category for any other item type.

This applies when you create an item, or when you change its category or item_type.

What do I need to do?

Check the values your integration sends in sales_tax_rate and category for items, and update it to use the values above before 15th February 2027.

If you have any questions about this change, please post on the FreeAgent API Discussion Forum and we’ll do our best to help.

Workflow Team, FreeAgent

1 Like