Samples required for PayableRoundingAmount

Hi team,

I have been asking for samples with PayableRoundingAmount applied but have not got any response till date
There is a confusion for the tax amounts to be taken for calculations

cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>2700.00</cbc:TaxAmount>
</cac:TaxTotal>
This amount is to be calculated on the Total Invoice amount * tax rate

<cbc:TaxInclusiveAmount currencyID=“SAR”>
This amount should be <cbc:TaxExclusiveAmount currencyID=“SAR”> + cbc:TaxAmount

If the total tax amount as a sum of tax amounts on line level is different e.g. 2700.20, what are the amounts to be taken and what is the PayableRoundingAmount value?

<cbc:LineExtensionAmount currencyID="USD">10001.00</cbc:LineExtensionAmount> 
<cbc:TaxExclusiveAmount currencyID="USD">10001.00</cbc:TaxExclusiveAmount>  
<cbc:TaxInclusiveAmount currencyID="USD">2700.20</cbc:TaxInclusiveAmount>  
<cbc:PayableRoundingAmount currencyID="USD">0.20</cbc:PayableRoundingAmount>
<cbc:PayableAmount currencyID="USD">2700.00</cbc:PayableAmount>

Hello team,

Can I get a response on this?

Regards
Vivek