Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descuentos de items #19

Open
franbar95 opened this issue Dec 29, 2022 · 0 comments
Open

Descuentos de items #19

franbar95 opened this issue Dec 29, 2022 · 0 comments

Comments

@franbar95
Copy link

franbar95 commented Dec 29, 2022

al pasar un valor de descuento a gValorRestaItem.setdDescGloItem();
o a gValorRestaItem.setdDescItem(); y al ser la cantidad > 1, multiplica y descuenta al total de la operacion

ejemplo:
total bruto 129.500
descuento 6.450
total neto 123.050
total neto en el DE xml 84.350

no se si estoy seteando mal los montos o que paso aca

parte del xml:
<cUniMed>77</cUniMed> <dDesUniMed>UNI</dDesUniMed> <dCantProSer>7.000</dCantProSer> <gValorItem> <dPUniProSer>18500.000</dPUniProSer> <dTotBruOpeItem>129500.000000</dTotBruOpeItem> <gValorRestaItem> <dDescGloItem>6450.000</dDescGloItem> <dAntPreUniIt>0</dAntPreUniIt> <dAntGloPreUniIt>0</dAntGloPreUniIt> <dTotOpeItem>84350.000000</dTotOpeItem> </gValorRestaItem> </gValorItem> <gCamIVA> <iAfecIVA>1</iAfecIVA> <dDesAfecIVA>Gravado IVA</dDesAfecIVA> <dPropIVA>100</dPropIVA> <dTasaIVA>10</dTasaIVA> <dBasGravIVA>76682</dBasGravIVA> <dLiqIVAItem>7668.000000</dLiqIVAItem> </gCamIVA> </gCamItem> </gDtipDE> <gTotSub> <dSubExe>0</dSubExe> <dSubExo>0</dSubExo> <dSub5>0</dSub5> <dSub10>84350.000000</dSub10> <dTotOpe>84350.000000</dTotOpe> <dTotDesc>0</dTotDesc> <dTotDescGlotem>6450.000</dTotDescGlotem> <dTotAntItem>0</dTotAntItem> <dTotAnt>0</dTotAnt> <dPorcDescTotal>7.10</dPorcDescTotal> <dDescTotal>6450.000</dDescTotal> <dAnticipo>0</dAnticipo> <dRedon>0.000000</dRedon> <dComi>0</dComi> <dTotGralOpe>84350.000000</dTotGralOpe> <dIVA5>0</dIVA5> <dIVA10>7668.000000</dIVA10> <dLiqTotIVA5>0</dLiqTotIVA5> <dLiqTotIVA10>0</dLiqTotIVA10> <dIVAComi>0</dIVAComi> <dTotIVA>7668.000000</dTotIVA> <dBaseGrav5>0</dBaseGrav5> <dBaseGrav10>76682</dBaseGrav10> <dTBasGraIVA>76682</dTBasGraIVA> </gTotSub>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant