When testing our XML file (MISC, Charge Category: Service Provider, Charge Code: GDS), we received the following error on the InvoiceHeader - Notes field.
List of possible elements expected: 'RejectionFlag, RejectedInvoiceDetails, CorrespondenceFlag, CorrespondenceDetails'
There is no link between any of the four possible expected elements ('RejectionFlag, RejectedInvoiceDetails, CorrespondenceFlag, CorrespondenceDetails') and Notes as per the below XML spec for Notes
Attribute Type is partly dictionary defined and possible values are:
Affiliate / Tax / PaymentTerms / Claims / RemitTo /TransactionType
If Type=TransactionType, then possible values for Notes are FinalBill, PrePayment.
Free form text
Note a reference to a previous invoice number or BOL if the current invoice is a credit memo;.
Type attribute is optional and open ended (AN25). Example of possible values: Affiliate / Tax / PaymentTerms / Claims / RemitTo
It is recommended that any information that is important and needs to be shown on the PDF/ legal invoice, it should be stated in this field and not in the field InvoiceData @Name
Attribute Type is Optional and AN25
Original Invoices will not have either the Rejection Flag or Correspondence Flag set to ‘Y’. Recommendation above states that any important information needs to be shown on PDF/legal invoices should go into the Notes field.
Can you please advise how we can avoid the above error for Original Invoices?