Quoted text is from 
<CALP8=dHTdNkmxwkTjODY=-nyudnQXdqw1qbdTFGD=oe40v9...@mail.gmail.com>, by 
makesh elangovan <[email protected]>

>As per my understanding the segment MOA+66 calculates TOTAL Gross 
>Value, I
>would like to know how MOA+124(TAX AMOUNT) is calculating from the 
>above
>example.

MOA+66 is the Goods Item Total. It normally contains the net total, 
since EDI invoices are between partners who are not the final customer 
in the VAT chain. The tax value in the MOA+124 then becomes:

Tax = goods_item_total * (VAT_percentage/100)

If the total *was* the gross then the calculation would be:

Tax = goods_item_total * (VAT_percentage/(100+VAT_percentage))

Incidentally, the EDIFACT compression rules require you to remove 
leading zeroes in variable length numeric fields.

Regards
Chris

-- 
Chris Johnson  mobile:+44 (0)7785 302122 Fax: +44 (0)870 0519 818
EDI website    http://www.edimatrix.co.uk
EDIMatrix Ltd  work: 0845 126 0680 or +44 20 8778 1402
Registered in UK no. 2777624 Reg.Office: 34 Sydenham Rd, London SE26 5QF


------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to