We are posting this object to the API, As you can see, the sales_tax is 0, with involves_sales_tax set to false.
[
{
“due_on”: “2023-02-01T15:43:41.618Z”,
“contact”: “xx”,
“dated_on”: “2023-02-01T15:43:41.618Z”,
“due_value”: 799,
“net_value”: 799,
“payment_url”: “xxx?pay_for_order=true&key=wc_order_JVKn5Xao8r9Jj”,
“total_value”: 799,
“po_reference”: “6019”,
“invoice_items”: [
{
“price”: 799,
“quantity”: 1,
“item_type”: “Products”,
“description”: “XXX”
}
],
“sales_tax_value”: 0,
“involves_sales_tax”: false,
“send_reminder_emails”: false,
“payment_terms_in_days”: 0,
“send_thank_you_emails”: false,
“send_new_invoice_emails”: true,
“always_show_bic_and_iban”: true
}
]
But the response object has the sales_tax set at 20% and therefore any invoices, whether from GB or not are including VAT.
[
{
“url”: “xxx”,
“contact”: “xxx”,
“dated_on”: “2023-02-01”,
“due_on”: “2023-02-01”,
“reference”: “xxx”,
“currency”: “GBP”,
“exchange_rate”: “1.0”,
“net_value”: “799.0”,
“sales_tax_value”: “159.8”,
“involves_sales_tax”: true,
“is_interim_uk_vat”: false,
“total_value”: “958.8”,
“paid_value”: “0.0”,
“due_value”: “958.8”,
“status”: “Draft”,
“long_status”: “Draft”,
“po_reference”: “6019”,
“omit_header”: false,
“always_show_bic_and_iban”: true,
“payment_terms_in_days”: 0,
“created_at”: “2023-02-01T15:43:41.000Z”,
“updated_at”: “2023-02-01T15:43:41.000Z”,
“send_new_invoice_emails”: true,
“send_reminder_emails”: false,
“send_thank_you_emails”: false,
“bank_account”: “xxx”,
“payment_methods”: {
“stripe”: false
},
“contact_name”: “xxx”,
“invoice_items”: [
{
“url”: “xxx”,
“position”: 1,
“description”: “XXX”,
“item_type”: “Products”,
“price”: “799.0”,
“quantity”: “1.0”,
“sales_tax_rate”: “20.0”,
“suffers_cis_deduction”: false,
“sales_tax_status”: “TAXABLE”,
“category”: “xxx”
}
]
}
]
Can anyone advise what is wrong? I doubt this is a server side issue but keen to know what’s up.
Thanks.