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ú.
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)
Development
Changelog
1.1.0 (2022-07-28)
- (PR #12, 2022-07-28) fix: Do not ignore environment variable
TOXENV
in Makefile - (PR #9, 2022-07-28) Add entity 'RUC' (“Registro Único de Contribuyente”)
1.0.0 (2022-07-28)
- (PR #1, 2022-07-27) chore: Add Editor Configuration
- (PR #3, 2022-07-27) chore: Add CI workflows
- (PR #4, 2022-07-27) chore: Add Git Ignore
- (PR #5, 2022-07-27) chore: Manage Python dependencies with Pip Tools
- (PR #2, 2022-07-27) chore: Add software license
- (PR #6, 2022-07-27) chore: Add base Make tasks
- (PR #7, 2022-07-27) fix: Add missing base Make tasks
- (PR #8, 2022-07-28) Set up base project
- (PR #10, 2022-07-28) chore: Set package version in variable
cordada.pe_sunat.__version__
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.1.0.tar.gz
(5.1 kB
view hashes)