Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0048887Openbravo LocalizationsLocalization Portugalpublic2022-03-24 14:182022-03-25 09:19
aferraz 
aferraz 
normalmajorhave not tried
closedfixed 
5
 
 
0048887: Simplified Invoice Threshold for Portugal should consider tax ID starting by 6 as VAT taxable person
Simplified Invoice Threshold for Portugal should consider tax ID starting by 6 as VAT taxable person
*
No tags attached.
related to feature request 0048874 closed aferraz Simplified Invoice Threshold should be adapted to work with Customer Tax ID popup 
has duplicate feature request 0048858 closed psanjuan Portugal - Simplified Invoice Threshold extension to Tax ID pop-up 
Issue History
2022-03-24 14:18aferrazNew Issue
2022-03-24 14:18aferrazAssigned To => aferraz
2022-03-24 14:18aferrazRelationship addedrelated to 0048874
2022-03-24 14:21hgbotNote Added: 0135996
2022-03-24 14:25hgbotNote Added: 0135997
2022-03-24 14:26hgbotNote Added: 0135998
2022-03-24 17:18aferrazRelationship addedhas duplicate 0048858
2022-03-24 17:27aferrazNote Added: 0136002
2022-03-25 09:19hgbotResolutionopen => fixed
2022-03-25 09:19hgbotStatusnew => closed
2022-03-25 09:19hgbotNote Added: 0136021
2022-03-25 09:19hgbotNote Added: 0136022
2022-03-25 09:19hgbotNote Added: 0136023
2022-03-25 09:19hgbotNote Added: 0136024
2022-03-25 09:19hgbotNote Added: 0136025
2022-03-25 09:19hgbotNote Added: 0136026

Notes
(0135996)
hgbot   
2022-03-24 14:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/merge_requests/4 [^]
(0135997)
hgbot   
2022-03-24 14:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/merge_requests/5 [^]
(0135998)
hgbot   
2022-03-24 14:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/merge_requests/6 [^]
(0136002)
aferraz   
2022-03-24 17:27   
Test plan:

In Backoffice:
- Change Vall Blanca Store organization country to Portugal.
- Change VBS Customer business partner country to Portugal.
- Create Tax Rate for IVA Normal tax category from Portugal country to Portugal destination country with 23 rate.
- Define Web POS - Simplified Invoices Threshold for non VAT taxable preference with 100 value.
- Define Web POS - Simplified Invoices Threshold for VAT taxable preference with 200 value.

In WebPOS:
- Create a ticket for anonymous customer with 1 unit of Avalanche transceiver.
- Click on checkout button and enter a non VAT taxable tax ID (not starting with 5 not 6). Check following error is shown: It is not possible to issue a simplified invoice for an amount up to its threshold (100). Please decrease the amount or issue a full invoice.

- Create a ticket for anonymous customer with 1 unit of Avalanche transceiver.
- Click on checkout button and enter a VAT taxable tax ID (starting with 6). Check no error is shown and you can complete the ticket.

- Create a ticket for anonymous customer with 2 units of Avalanche transceiver.
- Click on checkout button and enter a VAT taxable tax ID (starting with 6). Check following error is shown: It is not possible to issue a simplified invoice for an amount up to its threshold (200). Please decrease the amount or issue a full invoice.
(0136021)
hgbot   
2022-03-25 09:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT [^]
Changeset: a5dc8e8173b67ef5153b7859b18bc5bfd63548e2
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 24-03-2022 14:20:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/commit/a5dc8e8173b67ef5153b7859b18bc5bfd63548e2 [^]

Fixes ISSUE-48887: VAT taxable tax ID should start by 5 or 6

---
M web-test/model/business-object/ticket/TicketUtils-isTaxable.test.js
M web/org.openbravo.retail.simpinvoicethreshold.pt_PT/app/model/business-object/ticket/TicketUtils.js
---
(0136022)
hgbot   
2022-03-25 09:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/merge_requests/4 [^]
(0136023)
hgbot   
2022-03-25 09:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/merge_requests/5 [^]
(0136024)
hgbot   
2022-03-25 09:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT [^]
Changeset: 9d0332ccd808fd50bd816d40fba7e8d0621cb527
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 25-03-2022 08:19:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/commit/9d0332ccd808fd50bd816d40fba7e8d0621cb527 [^]

Fixes ISSUE-48887: [20Q3] VAT taxable tax ID should start by 5 or 6

---
M web/org.openbravo.retail.simpinvoicethreshold.pt_PT/js/checkTaxableCustomer.js
---
(0136025)
hgbot   
2022-03-25 09:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT [^]
Changeset: a1ede8c850bc854de32caab3beaebe5256a82ff0
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 25-03-2022 08:19:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/commit/a1ede8c850bc854de32caab3beaebe5256a82ff0 [^]

Fixes ISSUE-48887: [19Q3] VAT taxable tax ID should start by 5 or 6

---
M web/org.openbravo.retail.simpinvoicethreshold.pt_PT/js/checkTaxableCustomer.js
---
(0136026)
hgbot   
2022-03-25 09:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT/-/merge_requests/6 [^]