Git Product home page Git Product logo

erpnext_fattura_elettronica's Introduction

This Custom App works only with ERPNext v10.

Part of the code of this app was included in ERPNext V11. To use the updated version, please refer to ERPNext Project: https://github.com/frappe/erpnext

ERPNext Fattura Elettronica ver. 0.0.1

App to export electronic invoices as mandated by the Italian Government

License

GPLv3

Reference (document issued by Italian Government): https://www.agenziaentrate.gov.it/wps/wcm/connect/a8316033-6124-4667-99d8-ed143dc72c20/Provvedimento_30042018+.pdf?MOD=AJPERES&CACHEID=a8316033-6124-4667-99d8-ed143dc72c20

http://www.fatturapa.gov.it/export/fatturazione/sdi/Specifiche_tecniche_del_formato_FatturaPA_v1.2.1.pdf

Requirements

At scheduled time the system can generate email alerts about the documents that must be exported. The user can manage the schelude choose between (1 hour, 2 hour, or a fixed time of the day).

The user will manage the export process using a new doctype: "EFE XML Export" In this doctype the user will be able to select a period and after then can select the Documents to export The system will generate an XML file for every Customer;

The XML file will be complaint to: http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm and will be tested here: http://sdi.fatturapa.gov.it/SdI2FatturaPAWeb/AccediAlServizioAction.do?pagina=controlla_fattura

These files can be used to send electronic invoices to SDI using a service like this: https://guide.pec.it/fatturazione-elettronica/menu-carica-fattura/upload-fatture-in-formato-xml.aspx

This software is a Frappe Custom App but will be part of the Italian Localization

Setup

Company Setup:
  • Set Tax ID (Partita IVA)
  • Set Regime Fiscale
  • Set Company Address (Address Line 1, City/ Town, State (Provincia), Pincode (CAP))
Chart of accounts Setup:

If you need to use other kind of taxes, different from 22%, you can add it on the Item Master -> Item Tax. If you set to 0% it will ask to you the Natura.

Customers Setup:
  • Codice Destinatario (by default 0000000)
  • if Codice Destinario is 0000000, PEC Destinatario is mandatory
  • Tax ID (Partita IVA)
  • Set Customer Address (Address Line 1, City/ Town, State (Provincia), Pincode (CAP))
Items Setup:
  • Create some Items, optionally setting the in the Item Tax section, a different Tax Account instead 22%
Sales Invoices Setup:
  • Customer
  • Insert some Items
EFE XML Export:
  • Type of Document
  • Company
  • From Date
  • To Date Export

How to Test

If you find an error or you're not able to validate your XML files, please open an Issue. In every Issue you should write these informations:

  • If is an ERPNext Exception, please explain the procedure you did step by step;
  • If is a validation error write the Validation Code and attach the XML File;
  • In every case attach screenshots errors or other screenshots could be useful for debug;

ERPNext Customization

Doctype updates:

  • Company
  • Customer Group
  • Customer
  • Sales Invoice

New Doctypes:

  • EFE XML Export
  • Regime Fiscale
  • Tipo Documento
  • Natura

Plan

  • Complete development before the second week of November (2018)
  • Complete test before the last week of November (2018)

Implementation

Reference:

erpnext_fattura_elettronica's People

Contributors

mascor avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.