ticket

package
v0.217.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ticket handles the validation rules in order to use GOBL with the Italian Agenzia delle Entrate format.

Index

Constants

View Source
const (
	ExtKeyExempt  cbc.Key = "it-ticket-exempt"
	ExtKeyProduct cbc.Key = "it-ticket-product"
	ExtKeyLottery cbc.Key = "it-ticket-lottery"
	ExtKeyLine    cbc.Key = "it-ticket-line-ref"
)

Italian extension keys required by the AdE ticket format.

View Source
const (
	// StampRef is the key to identify the reference provided by the AdE once the ticket is accepted
	// This code needs to be printed on the ticket
	StampRef cbc.Key = "ade-ref"
	// StampVoidRef is the key to identify the reference provided by the AdE once the ticket is voided
	// This code needs to be printed on the ticket representing the void action
	StampVoidRef cbc.Key = "ade-void-ref"
)

Official stamps or codes validated by government agencies

View Source
const (
	// V1 for AdE format
	V1 cbc.Key = "it-ticket-v1"
)

Key to identify the AdE ticket addon

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL