API response for invoice containing item with VAT unit

Hi,
We’re encountering an issue with the API response for invoices that include line items with the VAT unit type. We’ve identified two specific problems:

Sales Tax Status and Rate

  • The sales_tax_status is returned as TAXABLE with sales_tax_rate 20.0.
  • This information does not match the data displayed on the invoice in the FreeAgent UI, and there is no way to edit these values within the UI. While we have a workaround that ignores the sales tax rate for these unit types, we wanted to flag this inconsistency.

Missing Category Information

  • The API response does not indicate the category/account to which the VAT line item applies.
  • This can create issues when invoices contain multiple line items assigned to different accounts, as we cannot confirm the correct account for the VAT line item.

I’ve attached an example invoice and the corresponding API response to illustrate the problem.

Could you advise on whether this is expected behavior, or if there’s a recommended approach to obtain the missing VAT category information?

Thanks very much,
Bertie

Hello!

We’ve noticed that VAT unit-type line items in the FreeAgent API are returned with sales_tax_status: TAXABLE and sales_tax_rate: 20.0, which doesn’t match the UI and cannot be edited. In addition, these VAT lines don’t include category/account information, making it difficult to reconcile invoices with multiple accounts. Is this expected behavior, and is there a recommended way to obtain the correct VAT category mapping?