Prepayment Ammount Adjustment

Hello Respected Community Members! Just a very Quick Question about Prepayment Ammount Adjustment

Case1: If customer has done PRE-payment for 2 products productA and product B but the delivery dates are different or due to some other reasons we have to create Payment invoice(Standard) for the productA and product B seprately but their prepayment is done in single invpoice

then how can we divide the reference or payment in both the invoices?

asking this because i had read the XML structure emaple for adding pre-payment reference and in this they are passing total ammount of the prepayment invoice

but how will i divide the total ammount and pass same iPrepayment=
nvoice reference in 2 invoices

@Ankit.K.Tiwari Dear!Really appreciate of you could describe how can i use single Prepayment Tax amount in multiple Delivery invoices as in the XML implementation Document of Zatca they explained how can multiple prepayments could be adjusted in a single delivery invoice
but they dont describe how can a single prepayment Tax invoice

could be used in multiple delivery invocies

@Shzzamx you can adjust one advance payment invoice against multiple subsequent invoices, you can repeat the reference of original advance payment invoice in all subsequent invoices as long as the total value being adjusted does not exceed the value of original advance payment invoice.