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

No genera DE con descuento x item #27

Open
ahonig opened this issue Mar 27, 2023 · 1 comment
Open

No genera DE con descuento x item #27

ahonig opened this issue Mar 27, 2023 · 1 comment

Comments

@ahonig
Copy link

ahonig commented Mar 27, 2023

Buenas.
Al querer aplicar descuentos x item (no el global), dPorcDescTotal aparentemente no calcula adecuandamente porque la sifen emite:
EA004: El descuento Global sobre el precio unitario por Item no coincidente con lo informado.

En tal sentido, comentando el archivo TgTotSub linea 100:
this.dPorcDescTotal = this.dDescTotal.multiply(BigDecimal.valueOf(100)).divide(this.dTotOpe.add(this.dDescTotal), 2, RoundingMode.HALF_UP);

@guidogpy
Copy link

Al día de hoy tenemos este mismo problema. Probaremos comentando esa porción de código.

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

2 participants