Documentation
¶
Overview ¶
Package banking provides helpers for financial identifiers and standards such as IBAN, ISIN, LEI, and UTI parsing and validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lookup_LEI ¶
Types ¶
type GLIEF ¶
type GLIEF struct {
Meta struct {
GoldenCopy struct {
PublishDate time.Time `json:"publishDate"`
} `json:"goldenCopy"`
Pagination struct {
CurrentPage int `json:"currentPage"`
PerPage int `json:"perPage"`
From int `json:"from"`
To int `json:"to"`
Total int `json:"total"`
LastPage int `json:"lastPage"`
} `json:"pagination"`
} `json:"meta"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
} `json:"links"`
Data []struct {
Type string `json:"type"`
ID string `json:"id"`
Attributes struct {
Lei string `json:"lei"`
Entity struct {
LegalName struct {
Name string `json:"name"`
Language string `json:"language"`
} `json:"legalName"`
OtherNames []any `json:"otherNames"`
TransliteratedOtherNames []any `json:"transliteratedOtherNames"`
LegalAddress struct {
Language string `json:"language"`
AddressLines []string `json:"addressLines"`
AddressNumber any `json:"addressNumber"`
AddressNumberWithinBuilding any `json:"addressNumberWithinBuilding"`
MailRouting any `json:"mailRouting"`
City string `json:"city"`
Region string `json:"region"`
Country string `json:"country"`
PostalCode string `json:"postalCode"`
} `json:"legalAddress"`
HeadquartersAddress struct {
Language string `json:"language"`
AddressLines []string `json:"addressLines"`
AddressNumber any `json:"addressNumber"`
AddressNumberWithinBuilding any `json:"addressNumberWithinBuilding"`
MailRouting any `json:"mailRouting"`
City string `json:"city"`
Region string `json:"region"`
Country string `json:"country"`
PostalCode string `json:"postalCode"`
} `json:"headquartersAddress"`
RegisteredAt struct {
ID string `json:"id"`
Other any `json:"other"`
} `json:"registeredAt"`
RegisteredAs any `json:"registeredAs"`
Jurisdiction string `json:"jurisdiction"`
Category any `json:"category"`
LegalForm struct {
ID string `json:"id"`
Other string `json:"other"`
} `json:"legalForm"`
AssociatedEntity struct {
Lei any `json:"lei"`
Name any `json:"name"`
} `json:"associatedEntity"`
Status string `json:"status"`
Expiration struct {
Date any `json:"date"`
Reason any `json:"reason"`
} `json:"expiration"`
SuccessorEntity struct {
Lei any `json:"lei"`
Name any `json:"name"`
} `json:"successorEntity"`
OtherAddresses []any `json:"otherAddresses"`
} `json:"entity"`
Registration struct {
InitialRegistrationDate time.Time `json:"initialRegistrationDate"`
LastUpdateDate time.Time `json:"lastUpdateDate"`
Status string `json:"status"`
NextRenewalDate time.Time `json:"nextRenewalDate"`
ManagingLou string `json:"managingLou"`
CorroborationLevel string `json:"corroborationLevel"`
ValidatedAt struct {
ID string `json:"id"`
Other any `json:"other"`
} `json:"validatedAt"`
ValidatedAs any `json:"validatedAs"`
OtherValidationAuthorities []any `json:"otherValidationAuthorities"`
} `json:"registration"`
Bic any `json:"bic"`
} `json:"attributes"`
Relationships struct {
ManagingLou struct {
Links struct {
Related string `json:"related"`
} `json:"links"`
} `json:"managing-lou"`
LeiIssuer struct {
Links struct {
Related string `json:"related"`
} `json:"links"`
} `json:"lei-issuer"`
FieldModifications struct {
Links struct {
Related string `json:"related"`
} `json:"links"`
} `json:"field-modifications"`
DirectParent struct {
Links struct {
ReportingException string `json:"reporting-exception"`
} `json:"links"`
} `json:"direct-parent"`
UltimateParent struct {
Links struct {
ReportingException string `json:"reporting-exception"`
} `json:"links"`
} `json:"ultimate-parent"`
DirectChildren struct {
Links struct {
RelationshipRecords string `json:"relationship-records"`
Related string `json:"related"`
} `json:"links"`
} `json:"direct-children"`
UltimateChildren struct {
Links struct {
RelationshipRecords string `json:"relationship-records"`
Related string `json:"related"`
} `json:"links"`
} `json:"ultimate-children"`
Isins struct {
Links struct {
Related string `json:"related"`
} `json:"links"`
} `json:"isins"`
} `json:"relationships"`
Links struct {
Self string `json:"self"`
} `json:"links"`
} `json:"data"`
}
type LEI ¶
type LEI struct {
// contains filtered or unexported fields
}
type UTI ¶
type UTI struct {
// contains filtered or unexported fields
}
func NewISO23897UTI ¶
NewISO23897UTI generates an ISO 23897:2020 compliant Unique Transaction Identifier (UTI).
Click to show internal directories.
Click to hide internal directories.