Configuration File Location
JSIFEN looks for configuration in the following order:- External configuration (production): Specify the path using the
sifen.configsystem property - Local development: Uses
src/main/resources/sifen.properties
Create the configuration file
Create a file named
sifen.properties with your SIFEN credentials and settings.Configuration Parameters
Environment Settings
The SIFEN environment to connect to.
prod: Production environment (https://ekuatia.set.gov.py)test: Testing environment (https://ekuatia.set.gov.py/consultas-test)
CSC Credentials
The CSC identifier provided by SIFEN. This is a unique identifier for your CSC credentials.
The CSC (Código de Seguridad del Contribuyente) code provided by SIFEN.
Certificate Settings
Absolute path to your PKCS12 certificate file (.p12). This certificate is required for signing electronic documents.See Certificate Configuration for more details.
Password to unlock the PKCS12 certificate keystore.
Obtaining SIFEN Credentials
To use JSIFEN, you need to obtain credentials from the SET (Subsecretaría de Estado de Tributación) in Paraguay:Request CSC credentials
Request your CSC identifier (
id-csc) and CSC code from SET. These are unique to your taxpayer account.Obtain digital certificate
Get a PKCS12 digital certificate from an authorized certification authority. This certificate will be used to digitally sign your electronic documents.
Complete Configuration Example
Automatic URL Resolution
Based on theambiente setting, JSIFEN automatically determines the correct SIFEN endpoints:
- Production:
https://ekuatia.set.gov.py/consultas/qr - Test:
https://ekuatia.set.gov.py/consultas-test/qr
Testing Your Configuration
After configuring, verify your setup:-
Start the application in development mode:
-
Check the console output for configuration loading messages:
-
Test the connection using the health check endpoint:
Next Steps
- Learn about certificate management
- Set up multi-tenant configuration for multiple clients
- Explore the API Reference