Is Payment method mandatory for credit notes?

Is Payment method mandatory for credit notes? If no please can you share a sample only mentioning reason as refund becuase I am facing error if I dont including Payment method, if i include all ok. This is for BtoC

yes
you can refer to this file

https://zatca.gov.sa/ar/E-Invoicing/SystemsDevelopers/Documents/20230519_EInvoice_Data_Dictionary%20vTrack.xlsx

Dear Embro,

Thank you for your reply.

cac:PaymentMeans
cbc:InstructionNoteRefund</cbc:InstructionNote>
</cac:PaymentMeans>

This is the xml code I am sending then I am getting attached error.

But If i send like this everything is ok

cac:PaymentMeans
cbc:PaymentMeansCode10</cbc:PaymentMeansCode>
cbc:InstructionNoteRefund</cbc:InstructionNote>
</cac:PaymentMeans>

Since payment code is not mandatory for BtoC credit note, I want to remove it. Please suggest how can we handle this.

Ismail
Capture