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 |
|
master |
Production |
GitHub |
|
Code Coverage |
|
Hosting
Deployment Environment |
Python Package Registry |
Production |
PyPI |
Installation
Install Python package:
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