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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 722a66ccff44ce0257e6cafc8c2cce9abbba9954279bccd7f554932425689207
MD5 4420e05c933fc4fd1e43296cb02efb78
BLAKE2b-256 a187daeccab6993485122c6023aa6fd7c3fb88de2c51d4fdd25cc8ca744285a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98100388475b0e3ee36e61fb223e3c1b79683e0cdd7d72431f5980cd1b45face
MD5 c82c5b31152fecd6821cc7efad50ae92
BLAKE2b-256 9371eee5f231a5cf156237fa2e4bab06b93e6b272031dd2b02f6e203903589d1

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