Skip to main content

Error - 'FOR XML could not serialize the data for node CT_HEADER_REF character (0x0002) which is not allowed in XML'

This error occurs when posting an invoice from the Purchase Ledger batch screen and indicates an invalid character in the Invoice No. (also known as Transaction Ref.) field. This is often caused by pasting text into the field. Remove and re-enter the invoice number:

  1. Click the three dots on the selected transaction in the Post Batch screen, then select Edit.

  2. Amend the Invoice No. Field and re-enter it.

  3. Click Save.

You will then be able to post the transaction.

Did this answer your question?