Skip to content

VAT Declaration creation logic #169

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

Open
4 of 5 tasks
Tropicalrambler opened this issue Jul 17, 2020 · 1 comment
Open
4 of 5 tasks

VAT Declaration creation logic #169

Tropicalrambler opened this issue Jul 17, 2020 · 1 comment
Assignees
Labels
Critical Items that are critical

Comments

@Tropicalrambler
Copy link
Collaborator

Tropicalrambler commented Jul 17, 2020

Connect logic that creates the VAT generation.

Process:

  • Pass all non declared invoices in report (These will be pre-selected)
    Check if invoice has value in custom field: facelec_vat_declaration
    If it has value, check if value exists in doctype list "VAT Declaration"
    If it does, then this invoice has already been declared to tax authorities. Therefore do not include when filtering for non-declared invoices.

Revisamos si la factura tiene algun valor en el campo facelec_vat_declaration
Si tiene valor, revisamos si ese valor existe en el campo "VAT Declaration"
Si si existe, entonces significa que esta factura ya fue declarada a las autoridades, por lo tanto no incluirla cuando se filtre por todas aquellas facturas no declaradas en asiste libros

  • Create a new VAT Declaration doctype with the items for it including all the passed invoices.

  • Save the document.

  • Submit the VAT Declaration to ERPNext. Modify each of the selected invoices in their custom field, adding the name of the newly created VAT Declaration.

  • Print format for VAT declaration similar or equal to VAT declaration report print format.

Tropicalrambler added a commit that referenced this issue Jul 18, 2020
Tropicalrambler added a commit that referenced this issue Jul 18, 2020
@Tropicalrambler Tropicalrambler added the Critical Items that are critical label Jul 28, 2020
monroy95 added a commit that referenced this issue Jul 29, 2020
@monroy95
Copy link
Member

Que formato de impresión se debe utilizar?

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

No branches or pull requests

2 participants