Skip to main content

Downloads PDFs and XMLs of invoices (received and emited) for 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.3.9.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.3.9.tar.gz
  • Upload date:
  • Size: 19.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.9.7

File hashes

Hashes for sat_gt_fel_invoices_downloader-0.3.9.tar.gz
Algorithm Hash digest
SHA256 ef4019a0261b6ef0108561fefa6d082919b36399de7dba5710cffd9f798a66d2
MD5 0a2cc913e83951b31f6ae04c06371dfb
BLAKE2b-256 b1a3f27f47e02d89dbd2d9655d9da3d6805bc7ee12e1c14ea474abc403e337f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 19.9 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.9.7

File hashes

Hashes for sat_gt_fel_invoices_downloader-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1e3ac6fb70a36dd6f2687690f69a15f0e8ddacd8812f00cb734c19a7bfdd0fb1
MD5 75b7b41ff09c7e6fe27b26c1660b4056
BLAKE2b-256 e9a7e231ddb95ee704d0c57fcb705164f9f7bc732b7939e6e723b54e3441b4f8

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