A question has been raised by our programmers:
For miscellaneous we have found the following detail:
In the item line there is the tag Quantity. And in the example the value is 1. The quantity of the line item details is 29 and each of them has a tag quantity that equals to 1. By adding all the “quantities” of the line item details we obtain a quantity of 29. The question is why it is necessary to add?
In the file SIS P3 - IATA IS XML Invoice Standard - V3.2.xls that details the XML, it explains the following : “Quantity of service/ product/ goods provided”.
After that we found the tag UnitPrice. The file SIS P3 - IATA IS XML Invoice Standard - V3.2.xls explains the following: “Basis unit price, not taking into account any adjustment”
And in the example that was provided, the unit Price equals the sum of all the charge amounts of the line item details.
And then, regarding the Charge amount is says:
Should be equal to the total of the ChargeAmounts of the linked LineItemDetails
Should also be equal to the (Quantity * UnitPrice /SF)”
Taking into Account that the quantity has value 1, and that the unit Price was the sum of all the charge amounts of the line item details, multiplying all of these we obtain the summary of the charge amount of the line item details.
Assuming that the example files are correct we have choose to solve this as shown in the attached file (IS-XML – Dudas.jpg)