Skip to content

Commit

Permalink
Merge branch 'main' of ssh://github.com/sumup/latam-sii-certification
Browse files Browse the repository at this point in the history
  • Loading branch information
yerkortiz committed Apr 12, 2023
2 parents 562957e + b546f5f commit 0601e30
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ The purpose of this piece of code is to serve as a tool for sii's certification
make run
```
### Considerations:
Before try to run it, you need to get the environment variables and respective certificate.
Before run the program, you need to get the environment variables and respective certificate.
16 changes: 15 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,26 @@ func GenerateBatches() [][]entities.Batch {
VatID: "65537690-9", // valid rut
Day: "2023-04-10",
DocumentType: "48",
<<<<<<< HEAD
Channel: "1", // 1 for cnp
Amount: 40202,
NTransactions: 10,
=======
Channel: "0", // 0 for cnp
Amount: 500,
NTransactions: 2,
>>>>>>> b546f5fab07b75535d5acc71d5c2ca8157d78048
ExternalTrackID: "0",
},
{
VatID: "39020493-0", // valid rut
Day: "2023-04-10",
DocumentType: "48",
<<<<<<< HEAD
Channel: "1", // 1 for cnp
=======
Channel: "0", // 0 for cnp
>>>>>>> b546f5fab07b75535d5acc71d5c2ca8157d78048
Amount: 500,
NTransactions: 2,
ExternalTrackID: "0",
Expand Down Expand Up @@ -105,7 +115,11 @@ func GenerateBatches() [][]entities.Batch {
VatID: "85445473-0", // valid rut
Day: "2023-04-10",
DocumentType: "48",
<<<<<<< HEAD
Channel: "1", // 1 for cnp
=======
Channel: "0", // 0 for cnp
>>>>>>> b546f5fab07b75535d5acc71d5c2ca8157d78048
Amount: 0,
NTransactions: 1,
ExternalTrackID: "0",
Expand Down Expand Up @@ -145,7 +159,7 @@ func GenerateBatches() [][]entities.Batch {
Day: "2023-04-10",
DocumentType: "00",
Channel: "1", // 1 for cnp
Amount: 0,
Amount: 2000,
NTransactions: 2,
ExternalTrackID: "0",
},
Expand Down

0 comments on commit 0601e30

Please sign in to comment.