Skip to content

Conversation

@yahyrparedes
Copy link

Error (2968): Debe contener un importe mayor a 0.00 si envía el tag cac:AllowanceCharge/cbc:Amount cbc:Amount: 0.00
<cbc:AllowanceTotalAmount currencyID="PEN">0.00</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="PEN">0.00</cbc:ChargeTotalAmount>

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

</cac:TaxTotal>
{% endif %}
<cac:LegalMonetaryTotal>
{% if doc.sumDsctoGlobal != 0.00 %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tal vez debería utilizarse como la validación de abajo, de modo que si no se settea el campo, no estará en el XML

{% if doc.sumDsctoGlobal is not null %}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hola Gian podrias añadir esa validacion tambien para los montos de operacion_gravadas

@LeenhCraft
Copy link

a la fecha de 12 de octubre del 2023 al realizar una factura con descuento, sunat esta requeriendo esta etiqueta:
cbc:FreeOfChargeIndicatorfalse</cbc:FreeOfChargeIndicator>

pero grenter en su ejemplo no lo esta incluyendo, alguna sugerencia?

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

Successfully merging this pull request may close these issues.

4 participants