package
0.200.1
Repository: https://github.com/invopop/gobl.git
Documentation: pkg.go.dev

# Functions

AddStamp makes it easier to add a new Stamp by replacing a previous entry with a matching Key.
AppendLink will add the link to the provided list and return the new updated list.
GetStamp provides the matching stamp for the given provider.
LinkByKey finds the link with the given key from the provided list.
NewHeader creates a new header and automatically assigns a UUIDv1.
NormalizeStamps will try to clean the stamps by removing rows with empty providers or values.
StampsHas provides a validation rule that checks if a list of stamps includes one for the given provider.
WithHead ensures the original envelope's header is included in the set of correction options.

# Variables

DetectDuplicateLinks checks if the list of links contains duplicate keys.
DetectDuplicateStamps checks if the list of stamps contains duplicate provider keys.

# Structs

CorrectionOptions is used to define base correction options that can be shared between documents.
Header defines the metadata of the body.
Link defines a link between this document and another resource.
Stamp defines an official seal of approval from a third party like a governmental agency or intermediary and should thus be included in any official envelopes.