Introduction
The Codigos Service provides methods to interact with Bolivia’s SIAT (Tax Administration Service) for obtaining essential codes required for invoicing operations. This service handles:- CUIS (Código Único de Inicio de Sistemas) - System initialization codes
- CUFD (Código Único de Facturación Diaria) - Daily invoicing codes
- NIT Verification - Tax identification number validation
- Certificate Management - Revoked certificate notifications
- Communication Verification - Test connectivity to SIAT services
Service Methods
The Codigos service is accessed through theclient.Codigos namespace and provides the following operations:
CUIS Request
Request system initialization codes (single and bulk)
CUFD Request
Request daily invoicing codes (single and bulk)
NIT Verification
Verify tax identification numbers
Certificate Revocation
Notify revoked digital certificates
Additional Methods
VerificarComunicacion
Test the connectivity to SIAT’s Codigos service. This method requires no request body.Common Request Parameters
Most Codigos service methods use these common parameters:Environment code (1 for production, 2 for testing)
Operation modality code
System identification code assigned by SIAT
Branch office code
Company’s tax identification number
Response Structure
All Codigos service responses are wrapped in a SOAP envelope structure:Common Response Fields
Indicates if the transaction was successful
List of messages or errors from the service
Message Service Structure
Error Handling
All service methods return an error as the second return value. Always check for errors before processing the response:Next Steps
Request CUIS
Learn how to request system initialization codes
Request CUFD
Learn how to request daily invoicing codes
