Hi,
If a credit note is to be issued for an invoice, how should the values inside the XML populated?
For example, there is a invoice for SAR 100 with tax SAR 15.
A credit note is required to be issued for a discount amount of SAR 20.
Then the xml file should contain only discount amount? Or it will look like the invoice against which the credit note is being issued, along with the discount specified within allowance tab in XML file.
@itujar_it Yes the Credit Note should be issued only for 20. Please look at sample credit note in SDK. Do not use allowance charge field (discount) in credit note. You should mention Discount in the item description and add a line for SAR 20 in Credit Note.
Thanks for the reply @Ankit.K.Tiwari.
And suppose if a invoice contains multiple items. Then in future, the seller is giving discount for one item in the invoice. In such a scenario, how should the credit note be issued?
@itujar_it it is a common scenario. Credit note will be issued with details of the product that is returned (out of many from original tax invoice). In the credit note, you can include IRN of the original invoice under the tag (BT-25).