Skip to main content

Downloads PDFs and XMLs of invoices (received and emited) to later processing from Guatemalan SAT (Superintendencia de Administración Tributaria)

Project description

FEL Invoices Downloader for SAT of Guatemala

Downloads received and emited invoices in FEL (Factura En Linea) of Guatemala SAT

How to use it

Installation

pip install sat_gt_fel_invoices_downloader

Example

sat_credentials = SatCredentials("YOUR AGENCIA DIGITAL USER", "YOUR AGENCIA DIGITAL PASSWORD")
sat = SatFelDownloader(sat_credentials)
sat._login()
sat._get_queries_menu()
invoices = sat.get_invocies(
    datetime.date(2021, 10, 1), date_end=datetime.date(2021, 10, 30)
)
dir = os.path.dirname(
    'c:\\Users\\my-user\\Downloads\\"'
)
for invoice in invoices:
    sat.get_pdf(invoice, save_in_dir=dir, received=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sat_gt_fel_invoices_downloader-0.1.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file sat_gt_fel_invoices_downloader-0.1.2.tar.gz.

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.1.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for sat_gt_fel_invoices_downloader-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6ab1910c9f8bc74bfb2607fc7ae7ed8a544dba4737c21ce2a2e774e0e1284f57
MD5 91595e385e7e613e020fb88c0c6deff8
BLAKE2b-256 8b5a02acf6aec9f09344efa683bf6703c00b6bb49370d6aee3ddb46745735ae0

See more details on using hashes here.

File details

Details for the file sat_gt_fel_invoices_downloader-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for sat_gt_fel_invoices_downloader-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4ddc9b6232219daeaca773119c3c3a1598ee7a5c888fd2e4f763f0449d5aacb
MD5 5a873c725b674960d0bca4102afcabd0
BLAKE2b-256 9c682d861bc8f2a3136e51582337ae7f8fd322bbc7c41f8bcea669cfd1bbe63b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page