Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052641Retail ModulesWeb POSpublic2023-06-01 13:462023-06-02 11:58
psanjuan 
adrianromero 
urgentmajoralways
closedinvalid 
5
 
 
No
0052641: POS Fiscalization API - Gross amount missing in the JSON file in the Taxes array
POS Fiscalization API - Gross amount missing in the JSON file in the Taxes array
N/A
It is required to include the property Gross, see below, for each component of the Taxes array, created for the Ticket Complete event:

taxes: Array(2),
0:
amount: 30.78
name: "Entregas IVA 13%"
C_TaxRate.Value (searchKey) : issue 52622 = [TaxG] MAPPING
net: 236.79 = [Net]
rate: 13 = [Prc]
taxBase: null (issue 52323)
Gross = Amt (Issue 52641) missing!!
[[Prototype]]: Object
1:
amount: 3.32
name: "Entregas IVA 10%"
C_TaxRate.Value (searchKey) : = [TaxG] MAPPING]
net: 33.18
rate: 10
taxBase: null (issue 52323)
Gross = Amt (Issue 52641) missing!!
[[Prototype]]: Object
length: 2
[[Prototype]]: Array(0)

The field required "Gross" must be exported in the JSON file as the sum of below two fields of the C_InvoiceLineTax table:

Taxbaseamt
Tax Amount

No tags attached.
Issue History
2023-06-01 13:46psanjuanNew Issue
2023-06-01 13:46psanjuanAssigned To => Retail
2023-06-01 13:46psanjuanTriggers an Emergency Pack => No
2023-06-01 13:46psanjuanAssigned ToRetail => psanjuan
2023-06-01 13:53psanjuanProposed Solution updated
2023-06-01 13:53psanjuanProposed Solution updated
2023-06-01 13:54psanjuanAssigned Topsanjuan => adrianromero
2023-06-01 13:54psanjuanTypedefect => feature request
2023-06-01 14:03psanjuanNote Added: 0150605
2023-06-02 11:57psanjuanStatusnew => scheduled
2023-06-02 11:58psanjuanNote Added: 0150654
2023-06-02 11:58psanjuanStatusscheduled => resolved
2023-06-02 11:58psanjuanResolutionopen => invalid
2023-06-02 11:58psanjuanStatusresolved => closed

Notes
(0150605)
psanjuan   
2023-06-01 14:03   
Jira related:
https://openbravo.atlassian.net/browse/RM-6698 [^]
(0150654)
psanjuan   
2023-06-02 11:58   
We are not going to implement any calculation, as the integrator can take the fields and make the calculations required.