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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.3.5.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.5.tar.gz
Algorithm Hash digest
SHA256 dc1e30b230ef72821707f624cc7f464ff65f01a0bdf9d59f94f03f100fc0b0e2
MD5 5e496fcc56233725d31870cc913fa4b9
BLAKE2b-256 279c77da3ece0af31812830be348691d6dbd068f5813e41692565307aad2ff27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sat_gt_fel_invoices_downloader-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8de60e83a6561590918306c841edd4376030427ad637a222e976df892186dc79
MD5 b526cf791d6b047b2c3691c63f21f9c5
BLAKE2b-256 5a6e6bb2465a759528bdbb8fdfd4875432ca9c09ba6763ff456ebbde2b960d18

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