Is Payment means type code mandatory for a Standard Credit note?
I have tried to verify a Standard credit note using SDK toolkit 3.3.9. However, I’m receiving the below warning:
[WARN] ValidationProcessorImpl - CODE : BR-49, MESSAGE : [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81).
Please specify circumstances under which this warning is received although the field is optional as per data dictionary for Standard Invoices, Credit notes and Debit notes.
@juhisomaya you are correct that payment means code is optional field. However, please note that "Reasons for issuing credit / debit note (KSA-10) uses a common parent tag “cac:PaymentMeans”, this is why UBL is expecting the mandatory child element “cbc:Paymentmeanscode” once parent tag “cac:paymentmeans” exists on XML. In credit / debit notes, you have to include cbc:paymentmeanscode tag to satisfy UBL’s requirement technically. Hope this clarifies
Thanks for the prompt response @Ankit_Tiwari
This is helpful.
However, could you please clarify on the value to be passed for Payment means code when the reason for issuing debit/ credit note is change in buyer details?
@juhisomaya you can use the payment means of actual invoice (code for bank / cash / credit, even if not provided in actual invoice).