Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Portugalminorhave not tried2023-06-09 08:102023-06-30 15:44
ReporterjonaeView Statuspublic 
Assigned Tojonae 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release

0052708: Simplified invoice threshold and customer data request implementation

DescriptionFor the Portugal certification new validations are needed when the checkout (pay button) is performed:
- The cashier needs to choose a type of customer when the amount of the ticket is more than a threshold and the full invoice has not been issued. Depending on the type of customer the cashier will be requested to generate the full invoice.
- Once the invoice has been issued, the cashier will be requested to provide some information about the customer:
Customer Name
Customer Tax ID - It adds a validation for the tax id
Customer Invoice Address
Address 1
Address 2
Zip code
Steps To Reproduce- Create a new ticket
- Add a product
- Pay it
- The customer type pop up will be provided.
- If the total amount is more or equals to 1000 and the type is Final Consumer, a message requesting for issuing and invoice will be requested. If the total amount is more or equals to 100 and the customer type is not final consumer, the same message will be provided.
- Issue the invoice.
- Pay it
- A new popup requesting for the customer information will be provided. If the tax id provided is not a Portugal valid tax id, the system will provide and information message and the information will be requested again.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0052730 closedjonae Retail Modules Adding checkout event to fiscalization API 
blocks feature request 0052780 closedjonae Openbravo Localizations The export saft process has to get the information from the data provided and stored by the fiscalization API 

-  Notes
hgbot (developer)
2023-06-09 08:14

Merge Request created: [^]
hgbot (developer)
2023-06-26 14:28

Merge request closed: [^]
hgbot (developer)
2023-06-26 14:29

Merge Request created: [^]
hgbot (developer)
2023-06-30 15:40

Repository: [^]
Changeset: d28a216f3d8c70a5124718e227828a057e9e67a2
Author: jonalegria <>
Date: 30-06-2023 15:39:21
URL: [^]

Fixes ISSUE-52708: Adding threshold and issue invoice validations using the fiscalization API.

A src-db/database/sourcedata/AD_MESSAGE.xml
A src-db/database/sourcedata/AD_MODULE.xml
A src-db/database/sourcedata/AD_MODULE_DBPREFIX.xml
A src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
A src-db/database/sourcedata/AD_PACKAGE.xml
A src/org/openbravo/localization/portugal/fiscalization/
A web-test/ticket/SetupTicketUtils.js
A web-test/ticket/TicketUtils-getSimplifiedInvoiceThresholdExceededDependingOnType.test.js
A web-test/ticket/TicketUtils-isPortugueseTaxId.test.js
A web-test/ticket/TicketUtils-needToValidateAmountThreshold.test.js
A web/org.openbravo.localization.portugal.fiscalization/app/model/business-object/fiscalizationEventHandler/PTFISFiscalizationEventHandler.js
A web/org.openbravo.localization.portugal.fiscalization/app/model/business-object/ticket/TicketUtils.js
hgbot (developer)
2023-06-30 15:40

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2023-06-09 08:10 jonae New Issue
2023-06-09 08:10 jonae Assigned To => jonae
2023-06-09 08:14 hgbot Note Added: 0150970
2023-06-21 14:54 aferraz Relationship added depends on 0052730
2023-06-21 14:54 aferraz Relationship added blocks 0052780
2023-06-26 14:28 hgbot Note Added: 0151645
2023-06-26 14:29 hgbot Note Added: 0151646
2023-06-30 15:40 hgbot Resolution open => fixed
2023-06-30 15:40 hgbot Status new => resolved
2023-06-30 15:40 hgbot Note Added: 0151985
2023-06-30 15:40 hgbot Note Added: 0151986
2023-06-30 15:44 aferraz Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker