Documentation ¶
Index ¶
- type AccountIdentification4Choice
- type AccountSchemeName1Choice
- type AccountingAccount1
- type ActiveOrHistoricCurrencyAndAmount
- type ActiveOrHistoricCurrencyCode
- type AdditionalInformation1
- type AdditionalInformation6
- type AddressType2Code
- type Adjustment4
- type AdjustmentDirection1Code
- type AdjustmentType2Code
- type AnyBICIdentifier
- type BICIdentifier
- type BinaryFile1
- type BranchAndFinancialInstitutionIdentification4
- type BranchData2
- type CashAccount16
- type CashAccountType2
- type CashAccountType4Code
- type CategoryPurpose1Choice
- type ChargeType17Code
- type ChargeType8Code
- type ChargeTypeFormat3Choice
- type ChargesDetails2
- type ClearingSystemIdentification2Choice
- type ClearingSystemMemberIdentification2
- type Consignment2
- type Contacts3
- type CountryCode
- type CountryCodeAndName1
- type CreditDebitCode
- type CreditorReferenceInformation2
- type CreditorReferenceType1Choice
- type CreditorReferenceType2
- type CurrencyAndAmount
- type CurrencyCode
- type CurrencyReference2
- type DateAndDateTimeChoice
- type DateAndPlaceOfBirth
- type DateFormat4Choice
- type DateType6Code
- type DiscountOrChargeType1Choice
- type DiscountType1Code
- type DiscountTypeFormat1Choice
- type Document
- type DocumentAdjustment2
- type DocumentGeneralInformation2
- type DocumentIdentification22
- type DocumentIdentification23
- type DocumentIdentification7
- type DocumentType3Code
- type ExchangeRateInformation1
- type ExchangeRateType1Code
- type ExternalAccountIdentification1Code
- type ExternalCategoryPurpose1Code
- type ExternalClearingSystemIdentification1Code
- type ExternalDocumentPurpose1Code
- type ExternalDocumentType1Code
- type ExternalFinancialInstitutionIdentification1Code
- type ExternalIncoterms1Code
- type ExternalInformationType1Code
- type ExternalLocalInstrument1Code
- type ExternalOrganisationIdentification1Code
- type ExternalPackagingType1Code
- type ExternalPersonIdentification1Code
- type ExternalServiceLevel1Code
- type FinancialCard1
- type FinancialIdentificationSchemeName1Choice
- type FinancialInstitutionIdentification7
- type FinancialInvoiceV01
- type GenericAccountIdentification1
- type GenericFinancialIdentification1
- type GenericIdentification13
- type GenericIdentification4
- type GenericOrganisationIdentification1
- type GenericPersonIdentification1
- type IBAN2007Identifier
- type ISODate
- type ISODateTime
- type Incoterms3
- type Incoterms4Choice
- type InformationType1Choice
- type InformationType1Code
- type InvoiceHeader1
- type LegalOrganisation1
- type LineItem10
- type LineItemAllowanceCharge1
- type LineItemMonetarySummation1
- type LineItemTax1
- type LocalInstrument2Choice
- type Max100KBinary
- type Max140Text
- type Max15NumericText
- type Max16Text
- type Max2048Text
- type Max256Text
- type Max34Text
- type Max350Text
- type Max35Text
- type Max4AlphaNumericText
- type Max4Text
- type Max70Text
- type NamePrefix1Code
- type OrganisationIdentification6
- type OrganisationIdentificationSchemeName1Choice
- type Packaging1
- type Party8Choice
- type PartyIdentification45
- type PaymentMeans1
- type PaymentMethod4Code
- type PaymentPeriod1
- type PaymentTerms3
- type PaymentTime1Code
- type PaymentTypeInformation19
- type Period1
- type PersonIdentification5
- type PersonIdentificationSchemeName1Choice
- type PhoneNumber
- type PostalAddress6
- type Priority2Code
- type ProductCategory1
- type ProductCategory1Choice
- type ProductCategory1Code
- type ProductCharacteristics1
- type ProductCharacteristics1Choice
- type ProductCharacteristics1Code
- type ProductCharacteristics2
- type ProductIdentifier2
- type ProductIdentifier2Choice
- type ProductIdentifier2Code
- type Quantity3
- type Quantity4
- type ServiceLevel8Choice
- type SettlementAllowanceCharge1
- type SettlementMonetarySummation1
- type SettlementSubTotalCalculatedTax1
- type SettlementTax1
- type TaxExemptReason1Code
- type TaxExemptReason2Code
- type TaxExemptionReason1
- type TaxExemptionReasonFormatChoice
- type TaxParty3
- type TaxType15Code
- type TaxTypeFormat1Choice
- type TradeAgreement6
- type TradeDelivery1
- type TradeParty1
- type TradeProduct1
- type TradeSettlement1
- type TransportMeans3
- type UnitOfMeasure4Code
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountIdentification4Choice ¶
type AccountIdentification4Choice struct { IBAN IBAN2007Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IBAN"` Othr GenericAccountIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Othr"` }
type AccountSchemeName1Choice ¶
type AccountSchemeName1Choice struct { Cd ExternalAccountIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type AccountingAccount1 ¶
type ActiveOrHistoricCurrencyAndAmount ¶
type ActiveOrHistoricCurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy ActiveOrHistoricCurrencyCode `xml:"Ccy,attr"` }
type ActiveOrHistoricCurrencyCode ¶
type ActiveOrHistoricCurrencyCode string
Must match the pattern [A-Z]{3,3}
type AdditionalInformation1 ¶
type AdditionalInformation1 struct { InfTp InformationType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InfTp"` InfVal Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InfVal"` }
type AdditionalInformation6 ¶
type AdditionalInformation6 struct { InfTp ExternalInformationType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InfTp"` InfVal Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InfVal"` }
type AddressType2Code ¶
type AddressType2Code string
May be one of ADDR, PBOX, HOME, BIZZ, MLTO, DLVY
type Adjustment4 ¶
type Adjustment4 struct { Tp AdjustmentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp"` OthrAdjstmntTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrAdjstmntTp"` Drctn AdjustmentDirection1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Drctn"` Amt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Amt"` }
type AnyBICIdentifier ¶
type AnyBICIdentifier string
Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}
type BICIdentifier ¶
type BICIdentifier string
Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}
type BinaryFile1 ¶
type BinaryFile1 struct { MIMETp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MIMETp,omitempty"` NcodgTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NcodgTp,omitempty"` CharSet Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CharSet,omitempty"` InclBinryObjct Max100KBinary `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InclBinryObjct,omitempty"` }
type BranchAndFinancialInstitutionIdentification4 ¶
type BranchAndFinancialInstitutionIdentification4 struct { FinInstnId FinancialInstitutionIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 FinInstnId"` BrnchId BranchData2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BrnchId,omitempty"` }
type BranchData2 ¶
type BranchData2 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id,omitempty"` Nm Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` PstlAdr PostalAddress6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PstlAdr,omitempty"` }
type CashAccount16 ¶
type CashAccount16 struct { Id AccountIdentification4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` Tp CashAccountType2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp,omitempty"` Ccy ActiveOrHistoricCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Ccy,omitempty"` Nm Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` }
type CashAccountType2 ¶
type CashAccountType2 struct { Cd CashAccountType4Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type CashAccountType4Code ¶
type CashAccountType4Code string
May be one of CASH, CHAR, COMM, TAXE, CISH, TRAS, SACC, CACC, SVGS, ONDP, MGLD, NREX, MOMA, LOAN, SLRY, ODFT
type CategoryPurpose1Choice ¶
type CategoryPurpose1Choice struct { Cd ExternalCategoryPurpose1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type ChargeType17Code ¶
type ChargeType17Code string
May be one of POST, REGF, SHIP, CHAR, OTHR, PREM, PACK, PICK, SECU, INSU, MISC
type ChargeType8Code ¶
type ChargeType8Code string
May be one of SIGN, STDE, STOR, PACK, PICK, DNGR, SECU, INSU, COLF, CHOR, CHDE, AIRF, TRPT
type ChargeTypeFormat3Choice ¶
type ChargeTypeFormat3Choice struct { Cd ChargeType17Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry GenericIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type ChargesDetails2 ¶
type ChargesDetails2 struct { Tp ChargeType8Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp"` OthrChrgsTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrChrgsTp"` Amt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Amt"` }
type ClearingSystemIdentification2Choice ¶
type ClearingSystemIdentification2Choice struct { Cd ExternalClearingSystemIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type ClearingSystemMemberIdentification2 ¶
type ClearingSystemMemberIdentification2 struct { ClrSysId ClearingSystemIdentification2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClrSysId,omitempty"` MmbId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MmbId"` }
type Consignment2 ¶
type Consignment2 struct { Consgnr TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Consgnr,omitempty"` Consgn TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Consgn,omitempty"` TrnsprtMeans []TransportMeans3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TrnsprtMeans,omitempty"` }
type Contacts3 ¶
type Contacts3 struct { NmPrfx NamePrefix1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NmPrfx,omitempty"` Nm Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` PhneNb PhoneNumber `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PhneNb,omitempty"` MobNb PhoneNumber `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MobNb,omitempty"` FaxNb PhoneNumber `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 FaxNb,omitempty"` EmailAdr Max2048Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 EmailAdr,omitempty"` Othr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Othr,omitempty"` JobTitl Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 JobTitl,omitempty"` Rspnsblty Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Rspnsblty,omitempty"` Dept Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Dept,omitempty"` }
type CountryCodeAndName1 ¶
type CountryCodeAndName1 struct { Cd CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd,omitempty"` Nm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` }
type CreditorReferenceInformation2 ¶
type CreditorReferenceInformation2 struct { Tp CreditorReferenceType2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp,omitempty"` Ref Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Ref,omitempty"` }
type CreditorReferenceType1Choice ¶
type CreditorReferenceType1Choice struct { Cd DocumentType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type CreditorReferenceType2 ¶
type CreditorReferenceType2 struct { CdOrPrtry CreditorReferenceType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CdOrPrtry"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr,omitempty"` }
type CurrencyAndAmount ¶
type CurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy CurrencyCode `xml:"Ccy,attr"` }
type CurrencyReference2 ¶
type CurrencyReference2 struct { TrgtCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TrgtCcy"` SrcCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SrcCcy"` XchgRateInf []ExchangeRateInformation1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 XchgRateInf,omitempty"` }
type DateAndDateTimeChoice ¶
type DateAndDateTimeChoice struct { Dt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Dt"` DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DtTm"` }
type DateAndPlaceOfBirth ¶
type DateAndPlaceOfBirth struct { BirthDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BirthDt"` PrvcOfBirth Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PrvcOfBirth,omitempty"` CityOfBirth Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CityOfBirth"` CtryOfBirth CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtryOfBirth"` }
type DateFormat4Choice ¶
type DateFormat4Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Dt"` NotSpcfdDt DateType6Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NotSpcfdDt"` Prtry GenericIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type DiscountOrChargeType1Choice ¶
type DiscountOrChargeType1Choice struct { ChrgTp ChargeTypeFormat3Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ChrgTp"` DscntTp DiscountTypeFormat1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DscntTp"` }
type DiscountTypeFormat1Choice ¶
type DiscountTypeFormat1Choice struct { Cd DiscountType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry GenericIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type Document ¶
type Document struct {
FinInvc FinancialInvoiceV01 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 FinInvc"`
}
type DocumentAdjustment2 ¶
type DocumentAdjustment2 struct { Amt ActiveOrHistoricCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Amt"` CdtDbtInd CreditDebitCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CdtDbtInd"` Rsn Max4Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Rsn,omitempty"` AddtlInf Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AddtlInf,omitempty"` }
type DocumentGeneralInformation2 ¶
type DocumentGeneralInformation2 struct { DocTp ExternalDocumentType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DocTp"` DocNb Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DocNb"` SndrRcvrSeqId Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SndrRcvrSeqId,omitempty"` IsseDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IsseDt,omitempty"` URL Max256Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 URL,omitempty"` AttchdBinryFile []BinaryFile1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AttchdBinryFile,omitempty"` }
type DocumentIdentification7 ¶
type DocumentType3Code ¶
type DocumentType3Code string
May be one of RADM, RPIN, FXDR, DISP, PUOR, SCOR
type ExchangeRateInformation1 ¶
type ExchangeRateInformation1 struct { XchgRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 XchgRate,omitempty"` RateTp ExchangeRateType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 RateTp,omitempty"` CtrctId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtrctId,omitempty"` }
type ExternalAccountIdentification1Code ¶
type ExternalAccountIdentification1Code string
Must be at least 1 items long
type ExternalCategoryPurpose1Code ¶
type ExternalCategoryPurpose1Code string
Must be at least 1 items long
type ExternalClearingSystemIdentification1Code ¶
type ExternalClearingSystemIdentification1Code string
Must be at least 1 items long
type ExternalDocumentPurpose1Code ¶
type ExternalDocumentPurpose1Code string
Must be at least 1 items long
type ExternalDocumentType1Code ¶
type ExternalDocumentType1Code string
Must be at least 1 items long
type ExternalFinancialInstitutionIdentification1Code ¶
type ExternalFinancialInstitutionIdentification1Code string
Must be at least 1 items long
type ExternalInformationType1Code ¶
type ExternalInformationType1Code string
Must be at least 1 items long
type ExternalLocalInstrument1Code ¶
type ExternalLocalInstrument1Code string
Must be at least 1 items long
type ExternalOrganisationIdentification1Code ¶
type ExternalOrganisationIdentification1Code string
Must be at least 1 items long
type ExternalPackagingType1Code ¶
type ExternalPackagingType1Code string
Must be at least 1 items long
type ExternalPersonIdentification1Code ¶
type ExternalPersonIdentification1Code string
Must be at least 1 items long
type ExternalServiceLevel1Code ¶
type ExternalServiceLevel1Code string
Must be at least 1 items long
type FinancialCard1 ¶
type FinancialCard1 struct { CdtLmtAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CdtLmtAmt,omitempty"` CdtAvlblAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CdtAvlblAmt,omitempty"` IntrstRatePct float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IntrstRatePct,omitempty"` }
type FinancialIdentificationSchemeName1Choice ¶
type FinancialIdentificationSchemeName1Choice struct { Cd ExternalFinancialInstitutionIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type FinancialInstitutionIdentification7 ¶
type FinancialInstitutionIdentification7 struct { BIC BICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BIC,omitempty"` ClrSysMmbId ClearingSystemMemberIdentification2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClrSysMmbId,omitempty"` Nm Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` PstlAdr PostalAddress6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PstlAdr,omitempty"` Othr GenericFinancialIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Othr,omitempty"` }
type FinancialInvoiceV01 ¶
type FinancialInvoiceV01 struct { InvcHdr InvoiceHeader1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InvcHdr"` TradAgrmt TradeAgreement6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TradAgrmt"` TradDlvry TradeDelivery1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TradDlvry"` TradSttlm TradeSettlement1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TradSttlm"` LineItm []LineItem10 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LineItm,omitempty"` }
type GenericAccountIdentification1 ¶
type GenericAccountIdentification1 struct { Id Max34Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` SchmeNm AccountSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SchmeNm,omitempty"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr,omitempty"` }
type GenericFinancialIdentification1 ¶
type GenericFinancialIdentification1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` SchmeNm FinancialIdentificationSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SchmeNm,omitempty"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr,omitempty"` }
type GenericIdentification13 ¶
type GenericIdentification13 struct { Id Max4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SchmeNm,omitempty"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr"` }
type GenericIdentification4 ¶
type GenericOrganisationIdentification1 ¶
type GenericOrganisationIdentification1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` SchmeNm OrganisationIdentificationSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SchmeNm,omitempty"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr,omitempty"` }
type GenericPersonIdentification1 ¶
type GenericPersonIdentification1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` SchmeNm PersonIdentificationSchemeName1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SchmeNm,omitempty"` Issr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr,omitempty"` }
type IBAN2007Identifier ¶
type IBAN2007Identifier string
Must match the pattern [A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}
type ISODateTime ¶
func (ISODateTime) MarshalText ¶
func (t ISODateTime) MarshalText() ([]byte, error)
func (*ISODateTime) UnmarshalText ¶
func (t *ISODateTime) UnmarshalText(text []byte) error
type Incoterms3 ¶
type Incoterms3 struct { IncotrmsCd Incoterms4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IncotrmsCd"` Lctn Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Lctn,omitempty"` }
type Incoterms4Choice ¶
type Incoterms4Choice struct { Cd ExternalIncoterms1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry GenericIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type InformationType1Choice ¶
type InformationType1Choice struct { Cd InformationType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type InvoiceHeader1 ¶
type InvoiceHeader1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id"` TpCd ExternalDocumentType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TpCd"` Nm []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` IsseDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IsseDtTm"` Issr TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Issr,omitempty"` LangCd string `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LangCd,omitempty"` CpyInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CpyInd,omitempty"` DocPurp ExternalDocumentPurpose1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DocPurp,omitempty"` InclNote []AdditionalInformation6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InclNote,omitempty"` }
type LegalOrganisation1 ¶
type LegalOrganisation1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id,omitempty"` Nm Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` }
type LineItem10 ¶
type LineItem10 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id,omitempty"` TradPdct TradeProduct1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TradPdct,omitempty"` BuyrOrdrId DocumentIdentification23 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BuyrOrdrId,omitempty"` CtrctId DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtrctId,omitempty"` PurchsAcctgAcct []AccountingAccount1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PurchsAcctgAcct,omitempty"` NetPric []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NetPric,omitempty"` NetPricQty Quantity4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NetPricQty,omitempty"` NetPricAllwncChrg []LineItemAllowanceCharge1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NetPricAllwncChrg,omitempty"` NetWght Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NetWght,omitempty"` GrssPric []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 GrssPric,omitempty"` GrssPricQty Quantity4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 GrssPricQty,omitempty"` GrssWght Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 GrssWght,omitempty"` LogstcsChrg []ChargesDetails2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LogstcsChrg,omitempty"` Tax []LineItemTax1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tax,omitempty"` AllwncChrg []LineItemAllowanceCharge1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AllwncChrg,omitempty"` FinAdjstmnt []Adjustment4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 FinAdjstmnt,omitempty"` BlldQty Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BlldQty,omitempty"` PackgQty float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PackgQty,omitempty"` PerPackgUnitQty Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PerPackgUnitQty,omitempty"` Packgng []Packaging1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Packgng,omitempty"` ChrgFreeQty Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ChrgFreeQty,omitempty"` MeasrQtyStart Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MeasrQtyStart,omitempty"` MeasrQtyEnd Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MeasrQtyEnd,omitempty"` MeasrDtTmStart ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MeasrDtTmStart,omitempty"` MeasrDtTmEnd ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MeasrDtTmEnd,omitempty"` ShipTo TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ShipTo,omitempty"` Incotrms Incoterms3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Incotrms,omitempty"` DlvryDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DlvryDtTm,omitempty"` DlvryNoteId DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DlvryNoteId,omitempty"` MntrySummtn LineItemMonetarySummation1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MntrySummtn,omitempty"` InclNote []AdditionalInformation1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InclNote,omitempty"` }
type LineItemAllowanceCharge1 ¶
type LineItemAllowanceCharge1 struct { ChrgInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ChrgInd,omitempty"` ActlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ActlAmt,omitempty"` BsisQty Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BsisQty,omitempty"` ClctnPct float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClctnPct,omitempty"` SeqNb float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SeqNb,omitempty"` Rsn DiscountOrChargeType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Rsn,omitempty"` }
type LineItemMonetarySummation1 ¶
type LineItemMonetarySummation1 struct { LineTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LineTtlAmt,omitempty"` AllwncTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AllwncTtlAmt,omitempty"` ChrgTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ChrgTtlAmt,omitempty"` TaxTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxTtlAmt,omitempty"` TaxBsisTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxBsisTtlAmt,omitempty"` InfAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InfAmt,omitempty"` }
type LineItemTax1 ¶
type LineItemTax1 struct { ClctdAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClctdAmt,omitempty"` TpCd TaxTypeFormat1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TpCd,omitempty"` TaxPtDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxPtDt,omitempty"` ClctdRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClctdRate,omitempty"` CtgyCd Max4Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtgyCd,omitempty"` CtgyNm []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtgyNm,omitempty"` }
type LocalInstrument2Choice ¶
type LocalInstrument2Choice struct { Cd ExternalLocalInstrument1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type Max100KBinary ¶
type Max100KBinary []byte
func (Max100KBinary) MarshalText ¶
func (t Max100KBinary) MarshalText() ([]byte, error)
func (*Max100KBinary) UnmarshalText ¶
func (t *Max100KBinary) UnmarshalText(text []byte) error
type Max4AlphaNumericText ¶
type Max4AlphaNumericText string
Must match the pattern [a-zA-Z0-9]{1,4}
type OrganisationIdentification6 ¶
type OrganisationIdentification6 struct { BIC AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BIC,omitempty"` Othr []GenericOrganisationIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Othr,omitempty"` }
type OrganisationIdentificationSchemeName1Choice ¶
type OrganisationIdentificationSchemeName1Choice struct { Cd ExternalOrganisationIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type Packaging1 ¶
type Packaging1 struct { Tp ExternalPackagingType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp,omitempty"` Nm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` }
type Party8Choice ¶
type Party8Choice struct { OrgId OrganisationIdentification6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OrgId"` PrvtId PersonIdentification5 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PrvtId"` }
type PartyIdentification45 ¶
type PartyIdentification45 struct { Id Party8Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id,omitempty"` Nm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` PstlAdr PostalAddress6 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PstlAdr,omitempty"` CtryOfRes CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtryOfRes,omitempty"` CtctDtls []Contacts3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtctDtls,omitempty"` }
type PaymentMeans1 ¶
type PaymentMeans1 struct { PmtTp PaymentTypeInformation19 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtTp"` PmtMtdCd PaymentMethod4Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtMtdCd"` PyeeCdtrAcct CashAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PyeeCdtrAcct"` PyeeFI BranchAndFinancialInstitutionIdentification4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PyeeFI"` PyerDbtrAcct CashAccount16 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PyerDbtrAcct,omitempty"` PyerFI BranchAndFinancialInstitutionIdentification4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PyerFI,omitempty"` }
type PaymentPeriod1 ¶
type PaymentPeriod1 struct { Cd PaymentTime1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` NbOfDays float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 NbOfDays,omitempty"` }
type PaymentTerms3 ¶
type PaymentTerms3 struct { DueDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DueDt,omitempty"` PmtPrd PaymentPeriod1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtPrd,omitempty"` Desc []Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Desc,omitempty"` PrtlPmtPct float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PrtlPmtPct,omitempty"` DrctDbtMndtId []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DrctDbtMndtId,omitempty"` DscntAmt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DscntAmt,omitempty"` DscntPctRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DscntPctRate,omitempty"` DscntBsisAmt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DscntBsisAmt,omitempty"` PnltyAmt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PnltyAmt,omitempty"` PnltyPctRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PnltyPctRate,omitempty"` PnltyBsisAmt CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PnltyBsisAmt,omitempty"` }
type PaymentTime1Code ¶
type PaymentTime1Code string
May be one of CASH, EMTD, EPRD, PRMD, IREC, PRMR, EPRR, EMTR
type PaymentTypeInformation19 ¶
type PaymentTypeInformation19 struct { InstrPrty Priority2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InstrPrty,omitempty"` SvcLvl ServiceLevel8Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SvcLvl,omitempty"` LclInstrm LocalInstrument2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LclInstrm,omitempty"` CtgyPurp CategoryPurpose1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtgyPurp,omitempty"` }
type Period1 ¶
type Period1 struct { StartDt DateFormat4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 StartDt"` EndDt DateFormat4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 EndDt"` }
type PersonIdentification5 ¶
type PersonIdentification5 struct { DtAndPlcOfBirth DateAndPlaceOfBirth `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DtAndPlcOfBirth,omitempty"` Othr []GenericPersonIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Othr,omitempty"` }
type PersonIdentificationSchemeName1Choice ¶
type PersonIdentificationSchemeName1Choice struct { Cd ExternalPersonIdentification1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type PostalAddress6 ¶
type PostalAddress6 struct { AdrTp AddressType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AdrTp,omitempty"` Dept Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Dept,omitempty"` SubDept Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SubDept,omitempty"` StrtNm Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 StrtNm,omitempty"` BldgNb Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BldgNb,omitempty"` PstCd Max16Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PstCd,omitempty"` TwnNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TwnNm,omitempty"` CtrySubDvsn Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtrySubDvsn,omitempty"` Ctry CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Ctry,omitempty"` AdrLine []Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AdrLine,omitempty"` }
type ProductCategory1 ¶
type ProductCategory1 struct { Tp ProductCategory1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp"` Ctgy Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Ctgy"` }
type ProductCategory1Choice ¶
type ProductCategory1Choice struct { StrdPdctCtgy ProductCategory1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 StrdPdctCtgy"` OthrPdctCtgy GenericIdentification4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrPdctCtgy"` }
type ProductCategory1Code ¶
type ProductCategory1Code string
May be one of HRTR, QOTA, PRGP, LOBU, GNDR
type ProductCharacteristics1 ¶
type ProductCharacteristics1 struct { Tp ProductCharacteristics1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp"` Chrtcs Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Chrtcs"` }
type ProductCharacteristics1Choice ¶
type ProductCharacteristics1Choice struct { StrdPdctChrtcs ProductCharacteristics1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 StrdPdctChrtcs"` OthrPdctChrtcs GenericIdentification4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrPdctChrtcs"` }
type ProductCharacteristics1Code ¶
type ProductCharacteristics1Code string
May be one of BISP, CHNR, CLOR, EDSP, ENNR, OPTN, ORCR, PCTV, SISP, SIZE, SZRG, SPRM, STOR, VINR
type ProductCharacteristics2 ¶
type ProductCharacteristics2 struct { Chrtc ProductCharacteristics1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Chrtc,omitempty"` ValMeasr Quantity3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ValMeasr,omitempty"` }
type ProductIdentifier2 ¶
type ProductIdentifier2 struct { Tp ProductIdentifier2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tp"` Idr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Idr"` }
type ProductIdentifier2Choice ¶
type ProductIdentifier2Choice struct { StrdPdctIdr ProductIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 StrdPdctIdr"` OthrPdctIdr GenericIdentification4 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrPdctIdr"` }
type ProductIdentifier2Code ¶
type ProductIdentifier2Code string
May be one of BINR, COMD, EANC, HRTR, MANI, MODL, PART, QOTA, STYL, SUPI, UPCC
type Quantity3 ¶
type Quantity3 struct { UnitOfMeasrCd UnitOfMeasure4Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 UnitOfMeasrCd"` OthrUnitOfMeasr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrUnitOfMeasr"` Val float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Val"` }
type Quantity4 ¶
type Quantity4 struct { UnitOfMeasrCd UnitOfMeasure4Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 UnitOfMeasrCd"` OthrUnitOfMeasr Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 OthrUnitOfMeasr"` Val float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Val"` Fctr Max15NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Fctr,omitempty"` }
type ServiceLevel8Choice ¶
type ServiceLevel8Choice struct { Cd ExternalServiceLevel1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type SettlementAllowanceCharge1 ¶
type SettlementAllowanceCharge1 struct { AllwncChrgInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AllwncChrgInd,omitempty"` ActlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ActlAmt,omitempty"` Rsn DiscountOrChargeType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Rsn,omitempty"` }
type SettlementMonetarySummation1 ¶
type SettlementMonetarySummation1 struct { LineTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LineTtlAmt,omitempty"` AllwncTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AllwncTtlAmt,omitempty"` TtlDscntAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TtlDscntAmt,omitempty"` ChrgTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ChrgTtlAmt,omitempty"` TtlPrepdAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TtlPrepdAmt,omitempty"` TaxTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxTtlAmt,omitempty"` TaxBsisAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxBsisAmt,omitempty"` RndgAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 RndgAmt,omitempty"` GrdTtlAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 GrdTtlAmt,omitempty"` InfAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InfAmt,omitempty"` }
type SettlementSubTotalCalculatedTax1 ¶
type SettlementSubTotalCalculatedTax1 struct { TpCd Max4Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TpCd,omitempty"` CtgyCd Max4Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtgyCd,omitempty"` ClctdAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClctdAmt,omitempty"` BsisAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BsisAmt,omitempty"` ClctdRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClctdRate,omitempty"` XmptnRsn TaxExemptionReason1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 XmptnRsn,omitempty"` }
type SettlementTax1 ¶
type SettlementTax1 struct { TpCd TaxTypeFormat1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TpCd,omitempty"` ClctdAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ClctdAmt,omitempty"` BsisAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BsisAmt,omitempty"` TaxPtDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxPtDt,omitempty"` }
type TaxExemptReason1Code ¶
type TaxExemptReason1Code string
May be one of NONE, MASA, MISA, SISA, IISA, CUYP, PRYP, ASTR, EMPY, EMCY, EPRY, ECYE, NFPI, NFQP, DECP, IRAC, IRAR, KEOG, PFSP, 401K, SIRA, 403B, 457X, RIRA, RIAN, RCRF, RCIP, EIFP, EIOP
type TaxExemptReason2Code ¶
type TaxExemptReason2Code string
May be one of NONE, MASA, MISA, SISA, IISA, CUYP, PRYP, ASTR, EMPY, EMCY, EPRY, ECYE, NFPI, NFQP, DECP, IRAC, IRAR, KEOG, PFSP, 401K, SIRA, 403B, 457X, RIRA, RIAN, RCRF, RCIP, EIFP, EIOP, OTHR
type TaxExemptionReason1 ¶
type TaxExemptionReason1 struct { Strd TaxExemptReason2Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Strd"` AddtlInf Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AddtlInf,omitempty"` }
type TaxExemptionReasonFormatChoice ¶
type TaxExemptionReasonFormatChoice struct { Ustrd Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Ustrd"` Strd TaxExemptReason1Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Strd"` }
type TaxParty3 ¶
type TaxParty3 struct { TaxId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxId,omitempty"` TaxTp Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxTp,omitempty"` RegnId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 RegnId,omitempty"` TaxXmptnRsn []TaxExemptionReasonFormatChoice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxXmptnRsn,omitempty"` }
type TaxType15Code ¶
type TaxType15Code string
May be one of PROV, NATI, STAT, WITH, STAM, COAX, VATA, CUST, VATB
type TaxTypeFormat1Choice ¶
type TaxTypeFormat1Choice struct { Cd TaxType15Code `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Cd"` Prtry GenericIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Prtry"` }
type TradeAgreement6 ¶
type TradeAgreement6 struct { Buyr TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Buyr"` Sellr TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Sellr"` QtnDocId DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 QtnDocId,omitempty"` CtrctDocId DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtrctDocId,omitempty"` BuyrOrdrIdDoc DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BuyrOrdrIdDoc,omitempty"` AddtlRefDoc []DocumentGeneralInformation2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AddtlRefDoc,omitempty"` Incotrms Incoterms3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Incotrms,omitempty"` }
type TradeDelivery1 ¶
type TradeDelivery1 struct { DlvryPrd Period1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DlvryPrd,omitempty"` DlvryDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DlvryDtTm,omitempty"` ShipFr TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ShipFr,omitempty"` ShipTo TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ShipTo,omitempty"` UltmtShipTo TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 UltmtShipTo,omitempty"` DlvryNote DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DlvryNote,omitempty"` Consgnmt []Consignment2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Consgnmt,omitempty"` }
type TradeParty1 ¶
type TradeParty1 struct { PtyId PartyIdentification45 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PtyId"` LglOrg LegalOrganisation1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LglOrg,omitempty"` TaxPty []TaxParty3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxPty,omitempty"` }
type TradeProduct1 ¶
type TradeProduct1 struct { Id []ProductIdentifier2Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Id,omitempty"` Nm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Nm,omitempty"` Desc Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Desc,omitempty"` CtryOfOrgn []CountryCodeAndName1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CtryOfOrgn,omitempty"` PdctChrtcs []ProductCharacteristics2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PdctChrtcs,omitempty"` PdctCtgy []ProductCategory1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PdctCtgy,omitempty"` GblSrlIdr []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 GblSrlIdr,omitempty"` }
type TradeSettlement1 ¶
type TradeSettlement1 struct { DuePyblAmt []CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 DuePyblAmt,omitempty"` CdtrRef []CreditorReferenceInformation2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 CdtrRef,omitempty"` PmtRef []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtRef,omitempty"` InvcCcyCd CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InvcCcyCd,omitempty"` Invcr TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Invcr,omitempty"` Invcee TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Invcee,omitempty"` Pyee TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Pyee,omitempty"` Pyer TradeParty1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Pyer,omitempty"` TaxCcyXchg CurrencyReference2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 TaxCcyXchg,omitempty"` InvcCcyXchg CurrencyReference2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InvcCcyXchg,omitempty"` PmtCcyXchg CurrencyReference2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtCcyXchg,omitempty"` PmtMeans []PaymentMeans1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtMeans,omitempty"` Tax []SettlementTax1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 Tax,omitempty"` BllgPrd Period1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 BllgPrd,omitempty"` AllwncChrg []SettlementAllowanceCharge1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AllwncChrg,omitempty"` SubTtlClctdTax []SettlementSubTotalCalculatedTax1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 SubTtlClctdTax,omitempty"` LogstcsChrg []ChargesDetails2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LogstcsChrg,omitempty"` PmtTerms []PaymentTerms3 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PmtTerms,omitempty"` MntrySummtn SettlementMonetarySummation1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 MntrySummtn"` AdjstmntAmtAndRsn []DocumentAdjustment2 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 AdjstmntAmtAndRsn,omitempty"` InvcRefdDoc DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 InvcRefdDoc,omitempty"` ProfrmInvcRefdDoc DocumentIdentification22 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 ProfrmInvcRefdDoc,omitempty"` LttrOfCdtRefdDoc DocumentIdentification7 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 LttrOfCdtRefdDoc,omitempty"` FinCard []FinancialCard1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 FinCard,omitempty"` PurchsAcctgAcct []AccountingAccount1 `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 PurchsAcctgAcct,omitempty"` IssrFactrgListId []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IssrFactrgListId,omitempty"` IssrFactrgAgrmtId []Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:tsin.004.001.01 IssrFactrgAgrmtId,omitempty"` }
type TransportMeans3 ¶
type UnitOfMeasure4Code ¶
type UnitOfMeasure4Code string
May be one of KGM, EA, LTN, MTR, INH, LY, GLI, GRM, CMT, MTK, FOT, 1A, INK, FTK, MIK, ONZ, PTI, PT, QTI, QT, GLL, MMT, KTM, YDK, MMK, CMK, KMK, MMQ, CLT, LTR, LBR, STN, BLL, BX, BO, CT, CH, CR, INQ, MTQ, OZI, OZA, BG, BL, TNE