Skip to content

Commit

Permalink
Verifactu Code Prefix and Suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
apardods committed Dec 12, 2024
1 parent 34e317a commit 88f0519
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions addons/es/verifactu/verifactu.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const (
const (
// StampQR contains the URL included in the QR code.
StampQR cbc.Key = "verifactu-qr"

// QRPrefix is the compulsory text to appear above the QR code.
QRPrefix string = "QR tributario:"
// QRSuffix is the compulsory text to appear below the QR code.
QRSuffix string = "VERI*FACTU"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ toolchain go1.22.5
require (
cloud.google.com/go v0.110.2
github.com/Masterminds/semver/v3 v3.2.1
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/imdario/mergo v0.3.16
Expand All @@ -23,7 +24,6 @@ require (
)

require (
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down

0 comments on commit 88f0519

Please sign in to comment.