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.6.0.tar.gz (6.4 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.6.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pe_sunat-1.6.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pe_sunat-1.6.0.tar.gz
Algorithm Hash digest
SHA256 76278e7e633382ffe1ecd83a07729e359b10464d187c1f25e22cc583cbfcef8a
MD5 a2429f084ff02070d0dc61a6b26f05d0
BLAKE2b-256 092aec72cacc00d6c0cfe774d8f27b2b7779d3c28377b3b0651f359729427799

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pe_sunat-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pe_sunat-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a666dfa64383645cdc5b9ebb3aad1c5af0f64971864b5c13fccb436b1056783d
MD5 512a8296e4b329be974abb4460bf1bf5
BLAKE2b-256 e16fd883af6b7b690510c7309692b74f6c7c054fde43aa273da15b7c056ada67

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