!--a11y-->
Use
The program determines the VAT (value-added tax) amounts as described below.
Features
The program searches the debit items of a respective original tax account, defining the VAT value for each item, which is necessary for tax transfer-posting. VAT value is calculated as a total sum of VAT values included in the respective document. It means that the values posted with different tax codes within a single document are summed up. The program goes through the individual items of BSEG table, not concerning the BSET table values.
For tax credit and tax debit memos, the VAT value is determined in a special way. If besides a debit open item the program also finds a cleared credit item in the document, a tax debit or tax credit memo is being detected and through the clearing process the program finds the original document. In the next step, the payments will be assessed not only against the processed document (tax credit memo, tax debit memo) but also against the original invoice. If the original invoice has been paid, which means that the tax has been transfer-posted, the program can not make it through the tax account clearing to the original document. In such a case it is therefore necessary to do posting of a tax debit memo with the reference to the original invoice (through BSEG-REBZG field). Tax credit memo is posted with a target tax code.
