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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sat_gt_fel_invoices_downloader-0.3.8.tar.gz
.
File metadata
- Download URL: sat_gt_fel_invoices_downloader-0.3.8.tar.gz
- Upload date:
- Size: 19.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5bf36af7102abce0f70291763e1ba902a9d2f89c50a525ba9551dd11125e5c9 |
|
MD5 | 44dff8d77ba8d0b6c1c868eadfa904c0 |
|
BLAKE2b-256 | a1967bc2537dcc541c64cd48b8ff974f78d46fb2fccb94f1d203118feeba14e2 |
File details
Details for the file sat_gt_fel_invoices_downloader-0.3.8-py3-none-any.whl
.
File metadata
- Download URL: sat_gt_fel_invoices_downloader-0.3.8-py3-none-any.whl
- Upload date:
- Size: 19.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9acfd4a5b5cf729158e70c5622100da28e827c8c85a10a34ea611f77ff0db347 |
|
MD5 | b8afc843e9491516a6550e5dab99fff9 |
|
BLAKE2b-256 | df7f6181b6de28738d4afdaa9e0c08f166722c7ac578f3cadf4c4247f37e5849 |