This is a Python library for the Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Perú.
VCS Branch | Deployment Environment | VCS Repository | CI/CD Status |
---|---|---|---|
develop |
Staging | GitHub | |
master |
Production | GitHub |
Code Climate | Project Analysis |
---|---|
Open Source Insights |
Code Coverage |
---|
Deployment Environment | Python Package Registry |
---|---|
Production | PyPI |
Install Python package:
pip install pe-sunat
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)