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'

Updated over 2 months ago

If you are getting the error whilst trying to post a invoice from the Purchase Ledger batch screen, then this is due to an invalid character in the Invoice No. (aka Transaction Ref.) field, potentially caused by text being pasted into the field.
To correct it you will need to do the following:

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

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

  3. Press Save

You will then be able to post the transaction.

Did this answer your question?