Symptom
The user is receiving the below error message on their invoice, preventing it from publishing.
(zero d) must be greater than or equal to zero and less than the size of the argument list.

Applies To
Sage 50 Canada users
Cause
This error will show when an invoice contains invalid characters (e.g: { } [ ] ' ~, among others) in the description field or line item description field(s).


Resolution
To clear this error, you will need to unpublish the invoice, edit the description field(s) removing any invalid characters and then republish.
Once the invoice is successfully published to Sage, the error should clear!