Generating Factura Electronica cannot be optional #2

Closed
opened 2021-12-13 03:11:30 +00:00 by kikobar · 2 comments
Owner

Generating the json for sending to Facturador Sunat cannot be optional, as all invoices must be signed and sent to SUNAT for validation, therefore the idea of having button to send the data (like printing, or exporting) will systematically generate invoices in Openbravo which have been forgotten to be send to SUNAT.

The design should be a programmatic extraction from the Openbravo database to be sent to Facturador continuosly as the invoices are confirmed.

Moreover, by SUNAT regulation there are only 24 hours to validate a Factura or Nota, and 5 days to validate a Boleta, so this timing restriction must be taken in consideration for the design.

Generating the json for sending to Facturador Sunat cannot be optional, as all invoices must be signed and sent to SUNAT for validation, therefore the idea of having button to send the data (like printing, or exporting) will systematically generate invoices in Openbravo which have been forgotten to be send to SUNAT. The design should be a programmatic extraction from the Openbravo database to be sent to Facturador continuosly as the invoices are confirmed. Moreover, by SUNAT regulation there are only 24 hours to validate a Factura or Nota, and 5 days to validate a Boleta, so this timing restriction must be taken in consideration for the design.
Author
Owner

changed the description

changed the description
Author
Owner

We changed the project approach to a query extraction and generation of the JSON files using an external application.
We did the extraction in Python with Psycopg2 reading from the Postgres database and writing the JSON files in a folder where the Facturador SUNAT can pick them up.

The required reference data and the sql query are included in the 0.0.1 code, but not the python code as it belongs to a different project/repo.

We changed the project approach to a query extraction and generation of the JSON files using an external application. We did the extraction in Python with Psycopg2 reading from the Postgres database and writing the JSON files in a folder where the Facturador SUNAT can pick them up. The required reference data and the sql query are included in the 0.0.1 code, but not the python code as it belongs to a different project/repo.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kikobar/org.openbravo.kikobar.intfactsunat#2
No description provided.