kpp

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrRegistrationReasonCode invalid registration reason code
	ErrRegistrationReasonCode = errors.New("invalid registration reason code")
)

Functions

func Generate

func Generate() string

func Validate

func Validate(kpp string) (bool, error)

Validate check to valid KPP format example: input format is 773643301

Types

type KPP

type KPP struct {
	Code         models.TaxRegionCode
	Reason       models.ReasonRegistration
	SerialNumber models.SerialNumber
}

Jump to

Keyboard shortcuts

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