Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052919 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo Localizations] Localization Portugal | major | always | 2023-07-04 12:00 | 2023-07-27 14:11 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | jonae | |||||||
Priority | urgent | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Regression introduced in release | ||||||||
Summary | 0052919: Tax Exemption reason M11 is not being included in the e-fatura file regardless it is used in a sales transaction | |||||||
Description | Tax Exemption reason M11 is not being included in the e-fatura file regardless it is used in a sales transaction | |||||||
Steps To Reproduce | In this terminal https://portugal-certification-19q3.rm.openbravo.com/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1#login [^] create a new sales, including the product "Test Producto Isento 2" Go to the OB backoffice and launch the e-fatura file for the date of the transaction. Verify that in the XML file, there is no information related to the exempt reason <SalesInvoices> <NumberOfEntries>1</NumberOfEntries> <TotalDebit>0</TotalDebit> <TotalCredit>10.00</TotalCredit> <Invoice> <InvoiceNo>FS 23FSA/00008</InvoiceNo> <ATCUD>23FSAVC-00008</ATCUD> <DocumentStatus> <InvoiceStatus>N</InvoiceStatus> <InvoiceStatusDate>2023-07-04T15:46:05</InvoiceStatusDate> <SourceID>Openbravo</SourceID> <SourceBilling>P</SourceBilling> </DocumentStatus> <Hash>ox8sku9fHG4BxYz+7LglIlQwpQrguQkE+IW7+WymdSVvut5lKkg0Bx+4Gl0x/HgUv7O/k3X4YjcTmXReEBkoK7FhK+fJCMmDL6GGPIMWKRZov+4JDD4Ghy31/KXiz7QwLlaku9N891lyHs6bjSkClTltHcNqf/ggkaaG/KYtez4=</Hash> <HashControl>1</HashControl> <InvoiceDate>2023-07-04</InvoiceDate> <InvoiceType>FS</InvoiceType> <SpecialRegimes> <SelfBillingIndicator>0</SelfBillingIndicator> <CashVATSchemeIndicator>0</CashVATSchemeIndicator> <ThirdPartiesBillingIndicator>0</ThirdPartiesBillingIndicator> </SpecialRegimes> <SourceID>Openbravo</SourceID> <SystemEntryDate>2023-07-04T15:46:05</SystemEntryDate> <CustomerID>T019/C0001</CustomerID> <Line> <LineNumber>1</LineNumber> <OrderReferences> <OriginatingON>OV 23FSA/00008</OriginatingON> <OrderDate>2023-07-04</OrderDate> </OrderReferences> <ProductCode>T2</ProductCode> <ProductDescription>T2 - Test Producto Isento 2 </ProductDescription> <Quantity>1</Quantity> <UnitOfMeasure>Unit</UnitOfMeasure> <UnitPrice>10</UnitPrice> <TaxPointDate>2023-07-04</TaxPointDate> <Description>T2 - Test Producto Isento 2</Description> <CreditAmount>10.000</CreditAmount> <Tax> <TaxType>IVA</TaxType> <TaxCountryRegion>PT</TaxCountryRegion> <TaxCode>ISE</TaxCode> <TaxPercentage>0</TaxPercentage> </Tax> </Line> Make now a sale for the product "Test Product Isento", launch the XML file and verify that the tax exempt information is there: Invoice> <InvoiceNo>FS 23FSA/00009</InvoiceNo> <ATCUD>23FSAVC-00009</ATCUD> <DocumentStatus> <InvoiceStatus>N</InvoiceStatus> <InvoiceStatusDate>2023-07-04T15:50:26</InvoiceStatusDate> <SourceID>Openbravo</SourceID> <SourceBilling>P</SourceBilling> </DocumentStatus> <Hash>vZBVci/x1thmb/amoLZEwQPGlusWacwZCzLO8Ep67EiQhupQXY5MnksKEibjilWY++Wne9LQaYX7byEDCmtcU/KOwmuAVnAihptE/vxXjTHXeryd0cuNaCvph6rTwjxK+B4vlKp7D6MOYNlKVbPIkmn1Yn5+wA8cX8lYZEJj8yw=</Hash> <HashControl>1</HashControl> <InvoiceDate>2023-07-04</InvoiceDate> <InvoiceType>FS</InvoiceType> <SpecialRegimes> <SelfBillingIndicator>0</SelfBillingIndicator> <CashVATSchemeIndicator>0</CashVATSchemeIndicator> <ThirdPartiesBillingIndicator>0</ThirdPartiesBillingIndicator> </SpecialRegimes> <SourceID>Openbravo</SourceID> <SystemEntryDate>2023-07-04T15:50:26</SystemEntryDate> <CustomerID>T019/C0001</CustomerID> <Line> <LineNumber>1</LineNumber> <OrderReferences> <OriginatingON>OV 23FSA/00009</OriginatingON> <OrderDate>2023-07-04</OrderDate> </OrderReferences> <ProductCode>T1</ProductCode> <ProductDescription>T1 - Test Produto Isento</ProductDescription> <Quantity>1</Quantity> <UnitOfMeasure>Unit</UnitOfMeasure> <UnitPrice>10</UnitPrice> <TaxPointDate>2023-07-04</TaxPointDate> <Description>T1 - Test Produto Isento</Description> <CreditAmount>10.000</CreditAmount> <Tax> <TaxType>IVA</TaxType> <TaxCountryRegion>PT</TaxCountryRegion> <TaxCode>ISE</TaxCode> <TaxPercentage>0</TaxPercentage> </Tax> Invoice> <InvoiceNo>FS 23FSA/00009</InvoiceNo> <ATCUD>23FSAVC-00009</ATCUD> <DocumentStatus> <InvoiceStatus>N</InvoiceStatus> <InvoiceStatusDate>2023-07-04T15:50:26</InvoiceStatusDate> <SourceID>Openbravo</SourceID> <SourceBilling>P</SourceBilling> </DocumentStatus> <Hash>vZBVci/x1thmb/amoLZEwQPGlusWacwZCzLO8Ep67EiQhupQXY5MnksKEibjilWY++Wne9LQaYX7byEDCmtcU/KOwmuAVnAihptE/vxXjTHXeryd0cuNaCvph6rTwjxK+B4vlKp7D6MOYNlKVbPIkmn1Yn5+wA8cX8lYZEJj8yw=</Hash> <HashControl>1</HashControl> <InvoiceDate>2023-07-04</InvoiceDate> <InvoiceType>FS</InvoiceType> <SpecialRegimes> <SelfBillingIndicator>0</SelfBillingIndicator> <CashVATSchemeIndicator>0</CashVATSchemeIndicator> <ThirdPartiesBillingIndicator>0</ThirdPartiesBillingIndicator> </SpecialRegimes> <SourceID>Openbravo</SourceID> <SystemEntryDate>2023-07-04T15:50:26</SystemEntryDate> <CustomerID>T019/C0001</CustomerID> <Line> <LineNumber>1</LineNumber> <OrderReferences> <OriginatingON>OV 23FSA/00009</OriginatingON> <OrderDate>2023-07-04</OrderDate> </OrderReferences> <ProductCode>T1</ProductCode> <ProductDescription>T1 - Test Produto Isento</ProductDescription> <Quantity>1</Quantity> <UnitOfMeasure>Unit</UnitOfMeasure> <UnitPrice>10</UnitPrice> <TaxPointDate>2023-07-04</TaxPointDate> <Description>T1 - Test Produto Isento</Description> <CreditAmount>10.000</CreditAmount> <Tax> <TaxType>IVA</TaxType> <TaxCountryRegion>PT</TaxCountryRegion> <TaxCode>ISE</TaxCode> <TaxPercentage>0</TaxPercentage> </Tax> <TaxExemptionReason>Artigo 9º do CIVA, nº27</TaxExemptionReason> <TaxExemptionCode>M07</TaxExemptionCode> | |||||||
Proposed Solution | Below listed nodes need to be included, for each tax rate with an exempt reason: <TaxExemptionReason>Artigo 9º do CIVA, nº27</TaxExemptionReason> <TaxExemptionCode>M07</TaxExemptionCode> | |||||||
Tags | No tags attached. | |||||||
Attached Files | Screenshot from 2023-07-04 15-52-13.png [^] (148,961 bytes) 2023-07-04 15:53
Screenshot from 2023-07-04 15-52-23.png [^] (149,443 bytes) 2023-07-04 15:53 Screenshot from 2023-07-04 15-52-58.png [^] (105,706 bytes) 2023-07-04 15:53 Captura de pantalla 2023-07-27 a las 14.02.01.png [^] (269,788 bytes) 2023-07-27 14:10 Captura de pantalla 2023-07-27 a las 14.02.06.png [^] (5,303 bytes) 2023-07-27 14:10 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0152942) jonae (developer) 2023-07-27 14:09 |
I think this is not an issue. There is a validation in code that checks if the Tax Exempt field is set to export the Tax Exemption information. In the case of the M11, asociated to the “IVA Isento DL 346/85“ tax rate, it is not set. See images attached. Once the flag is set for that tax rate, the process exports the information properly |
(0152943) jonae (developer) 2023-07-27 14:11 |
It is a problem in the configuration of the tax rate |
Issue History | |||
Date Modified | Username | Field | Change |
2023-07-04 12:00 | psanjuan | New Issue | |
2023-07-04 12:00 | psanjuan | Assigned To | => psanjuan |
2023-07-04 15:49 | psanjuan | Steps to Reproduce Updated | View Revisions |
2023-07-04 15:49 | psanjuan | Proposed Solution updated | |
2023-07-04 15:51 | psanjuan | Steps to Reproduce Updated | View Revisions |
2023-07-04 15:53 | psanjuan | File Added: Screenshot from 2023-07-04 15-52-13.png | |
2023-07-04 15:53 | psanjuan | File Added: Screenshot from 2023-07-04 15-52-23.png | |
2023-07-04 15:53 | psanjuan | File Added: Screenshot from 2023-07-04 15-52-58.png | |
2023-07-04 15:54 | psanjuan | Steps to Reproduce Updated | View Revisions |
2023-07-04 15:54 | psanjuan | Proposed Solution updated | |
2023-07-04 15:54 | psanjuan | Assigned To | psanjuan => jonae |
2023-07-27 14:09 | jonae | Note Added: 0152942 | |
2023-07-27 14:10 | jonae | File Added: Captura de pantalla 2023-07-27 a las 14.02.01.png | |
2023-07-27 14:10 | jonae | File Added: Captura de pantalla 2023-07-27 a las 14.02.06.png | |
2023-07-27 14:11 | jonae | Note Added: 0152943 | |
2023-07-27 14:11 | jonae | Status | new => closed |
2023-07-27 14:11 | jonae | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |