There was no referral when the invoice was submitted.
Open the invoice and check if a referral has been entered. If not, add the referral and resubmit the claim.
To add the referral:
In the Patient Details section, look for the relevant claim and click Add Referral.
Enter all the relevant information and click Save.