The purpose of this piece of code is to serve as a tool for sii's certification process, here you can realize the whole certification process by just running this program.
Document Type | Quantity | Amount |
---|---|---|
48 (Voucher) | 4 | Distinct to Zero |
48 (Voucher) | 3 | Zero |
33 (Bill) | 1 | Distinct to Zero |
00 (Unknown) | 1 | Distinct to Zero |
99 (No sell) | 1 | Distinct to Zero |
- External Track ID must be zero
- Number of transactions must be greater than zero
- Channel:
- 0 for CP
- 1 for CNP
- VatId (RUT) must be valid
make run
Before run the program, you need to get the environment variables and respective certificate.