Skip to content

Utilities for scraping from "Fatture e Corrispettivi" website.

License

Notifications You must be signed in to change notification settings

gilbertotcc/FeCscraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeCscraper

This repository contains a collection of utilities to fetch data from the Fatture e Corrispettivi website by Agenzia delle Entrate.

Originally, this repository has been created by @claudiopizzillo and forked by @socrat3. The version of the code within this repository is a fork of the code updated by @socrat3.

For more information see also old README file at README-old.md.

Configuration

Dependencies are defined in requirements.txt and can be installed with pip; just run:

$ pip install -r requirements.txt

Usage

The scripts directory contains the scripts to fetch data from Fatture e Corrispettivi. In the following, examples on how to run them.

⚠️ If not specified, dates use DDMMYYYY format.

fe.py

$ python scripts/python fec.py \
    <FISCAL_CODE> \
    <PIN> <PASSWORD> \
    <VAT_NUMBER> \
    <DATE_FROM> <DATE_TO>

fec_emesse_dylog.py

$ python scripts/fec_emesse_dylog.py \
    <Codice_entratel_fiscoonline> \
    <codice_PIN_entratel_fiscoonline> \
    <password_fiscoonline> \
    <codice_fiscale_studio_intermediario> \
    <DATE_FROM> <DATE_TO> \
    <CF_cliente> \
    <Partita_IVA_cliente> \
    1

fec_ricevutedisposizione.py

$ python scripts/fec_ricevutedisposizione.py \
    <Codice_entratel_fiscoonline> \
    <codice_PIN_entratel_fiscoonline> \
    <password_fiscoonline> \
    <codice_fiscale_studio_intermediario> \
    <DATE_FROM> <DATE_TO> \
    <CF_cliente> \
    <Partita_IVA_cliente> \
    1

fec_trasfrontalieremesse.py

$ python scripts/fec_trasfrontalieremesse.py \
    <Codice_entratel_fiscoonline> \
    <codice_PIN_entratel_fiscoonline> \
    <password_fiscoonline> \
    <codice_fiscale_studio_intermediario> \
    <DATE_FROM> <DATE_TO> \
    <CF_cliente> \
    <Partita_IVA_cliente> \
    1

fec_ricevute.py

$ python scripts/fec_ricevute.py \
    <Codice_entratel_fiscoonline> \
    <codice_PIN_entratel_fiscoonline> \
    <password_fiscoonline> \
    <codice_fiscale_studio_intermediario> \
    <DATE_FROM> <DATE_TO> \
    <CF_cliente> \
    <Partita_IVA_cliente> \
    1

Acknowledge

Thanks to @claudiopizzillo, @socrat3 and Salvatore Crapanzano that, before me, contributed to this code.

About

Utilities for scraping from "Fatture e Corrispettivi" website.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Batchfile 0.4%