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.2.1.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.2.1.tar.gz
  • Upload date:
  • Size: 16.2 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.2.1.tar.gz
Algorithm Hash digest
SHA256 c88008ee6ba728841f1d3c6573900193643cb56cfd1fc37175fe3718e87fd590
MD5 260c6001241b091bf55c74a59a3ff742
BLAKE2b-256 99e20dcaf326a9aaac89bfa3990a0a859c839fa02deaa1e6dd6e53b98e326ca1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.2.1-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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 deeca5f1bf45cd65c8c789d9bd4d005cc04538e07247b9c107a5c57cfed5a55f
MD5 695deb546b2ed631512d8ebfd2fc564c
BLAKE2b-256 987051ab580d5a6db6dcd74023b231c053e9f03d670810a46a43acc6794a7b5c

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