You are seeing the following error message after trying to publish an invoice.
This error can occur if an unknown character or symbol is included in an Invoice number, line item, reference, or description. Some accounts packages do not allow some characters. e.g: { } [ ] ' ~, among others, to be exported.
The eror can also occur because you haven't selected a default VAT for Sales and Purchases on the company's Integrate page.
Check for special characters
Open the invoice and delete any special characters from the extracted fields.
Check default VAT codes
Click Integrate on the Home page.
Make sure you've assigned a default VAT code for both:
Purchases VAT code
Sales VAT code
After you've made these checks, republish the invoice.