Skip to main content

Cliente async para consulta de estado de CPE en SUNAT

Project description

xfep-consulta

Async client for querying CPE (Comprobante de Pago Electrónico) status from SUNAT.

Installation

pip install -e ./xfep-consulta

Usage

from xfep.consulta import ConsultaCpeClient

async with ConsultaCpeClient(client_id, client_secret) as client:
    result = await client.query_status("20000000001", "01", "F001", "1")
    print(result.status, result.description)

Licencia

Apache License 2.0 — ver LICENSE.

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

xfep_consulta-0.1.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xfep_consulta-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file xfep_consulta-0.1.0.tar.gz.

File metadata

  • Download URL: xfep_consulta-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for xfep_consulta-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e3e0ac5606dd9d3a38e52b67a2d76f5b9c4b3af454874a77eb30ed0363916bd5
MD5 afc1894e5a5aab69feb18071502905a1
BLAKE2b-256 c13bfd1b649e05b1c20825e4762d57e4e7c2e21540c58a4432ad5f4b6f613392

See more details on using hashes here.

File details

Details for the file xfep_consulta-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xfep_consulta-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for xfep_consulta-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e719daf6c7fb363476962a6ca6206a9dbc756af2195a8a5b5deb959b09d62360
MD5 3ff273be0e34902e2a182b50958759a0
BLAKE2b-256 6489e5961755c0033f3ded8b33e0755e7421724d06d1f51af9fc8fe9864980bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page