Skip to main content

Python library for Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Peru.

Project description

PE-SUNAT Python Library

This is a Python library for the Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Perú.

Dashboard

Development

VCS Branch Deployment Environment VCS Repository CI/CD Status
develop Staging GitHub GitHub Actions
master Production GitHub GitHub Actions
Code Climate Project Analysis
Maintainability Open Source Insights
Code Coverage
Codecov

Hosting

Deployment Environment Python Package Registry
Production PyPI

Installation

Install Python package:

pip install pe-sunat

Usage

from cordada.pe_sunat.ruc.entities import Ruc


example_valid_ruc = Ruc('20131312955')
print(example_valid_ruc.digits, example_valid_ruc.check_digit)

example_invalid_ruc = Ruc('20131312950', validate_check_digit=True)

Additional Documentation

Documentation

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

pe_sunat-1.9.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

pe_sunat-1.9.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pe_sunat-1.9.0.tar.gz.

File metadata

  • Download URL: pe_sunat-1.9.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pe_sunat-1.9.0.tar.gz
Algorithm Hash digest
SHA256 9132fc5b9ead7ce8ac03da9a65bf54dc40ac6ec44564265b8eeb5175e6f605a2
MD5 0a9ddc115483e7b7256b208b7b49ea96
BLAKE2b-256 82f747a29249a1d37274d8ff810b3862dde86d1e0b4186486811be65289f36bb

See more details on using hashes here.

File details

Details for the file pe_sunat-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: pe_sunat-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pe_sunat-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc831c9ca3ca0fa35f6c63e0ce836d63949b043e778118a3967a3b995942f381
MD5 73521550f4d6ec503dc5888692544e3d
BLAKE2b-256 ba3154cab5a33db39284ebf747c660942a082e72b31e04b50d3d37b7b92b3cd8

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