1 Overview

Loading...

2 Tax groups, taxes and rules

Taxes to be related with products.

The system organizes taxes through 3 tables:

  • Groups
  • Taxes with the values of percent.
  • Rules that contains the group and the tax also the country or province to apply related to the store

Use this form to manage all related with taxes, then at main product management set the rule to the product.

* System start up with some loaded data as:

Groups

tax_group_id tax_group_name tax_group_active tax_group_deleted
1 ES Standard rate (21%) 1 0
2 ES Reduced Rate (10%) 1 0
3 ES Super Reduced Rate (4%) 1 0

Taxes

tax_id tax_name tax_rate tax_active tax_deleted
1 IVA ES 21% 21 1 0
2 IVA ES 10% 10 1 0
3 ES Super Reduced Rate (4%) 4 1 0

Rules

tax_rule_id tax_group_id country_code tax_id
2 1 ESP 1
2 1 FRA 1
3 1 ITA 1
4 1 PRT 1
5 2 ESP 2
6 2 FRA 2
7 2 ITA 2
8 2 PRT 2
9 3 ESP 3
10 3 FRA 3
11 3 ITA 3
12 3 PRT 3

During ticket line insertion or updating ticket line, system uses procedure 'pos_ticketl_open_set_imptax' to set the taxes.

If accounting process activated, then must inform the column 'account' of taxes to enable accounting process of tickets and cashaudits.



3 Product taxes

Finally, with the parameterization of the rules, the product can now be associated with a tax group.