Page tree
Skip to end of metadata
Go to start of metadata

Problem

Spearhead integration error states StringLengthExceeded: Maximum allowed characters for ReferenceForCard is 20

Solution

MYOB can only accept Customer Order Numbers (Cust ON) of 20 characters or less, usually this isn't a problem but when doing project invoicing, multiple references are brought into the field and can exceed the maximum length.

This can be resolved by reducing the Cust ON in either the invoice and/or project (including removing and unnecessary spaces as spaces included in the character count).