Versions in this module Expand all Collapse all v0 v0.1.4 Oct 7, 2024 Changes in this version type EInvoiceAPI + func (e *EInvoiceAPI) GetDocument(accessToken, uuid string) (*GetDocumentDetailsResponse, error) type GetDocumentDetailsResponse + Document json.RawMessage v0.1.3 Oct 4, 2024 Changes in this version + var ProdBaseURL = MyInvoisBaseURL + var SandboxBaseURL = MyInvoisBaseURL type EInvoiceAPI + func (e *EInvoiceAPI) PublicLink(uuid, longid string) string + type MyInvoisBaseURL struct + API *url.URL + Portal *url.URL v0.1.2 Sep 30, 2024 v0.1.1 Sep 27, 2024 Changes in this version + const DefaultProductionURL + const DefaultSandboxURL + const DefaultTimeout + var EinvoiceEndpoints = &einvoiceEndpoints + var ErrDecodeCertificate = errors.New("failed to decode certificate") + var ErrDuplicateSubmission = errors.New("duplicate submission, please retry later") + var ErrHttpRequestFailed = errors.New("http request failed") + var ErrIncorrectSubmitter = errors.New("incorrect submitter") + var ErrInvalidInput = errors.New("invalid input") + var ErrInvalidTokenStructure = errors.New("invalid token structure") + var ErrMarshalFailed = errors.New("failed to marshal struct") + var ErrNewHttpRequestFailed = errors.New("failed to create new http request") + var ErrParseCertificate = errors.New("failed to parse certificate") + var ErrReadBodyFailed = errors.New("failed to read response body") + var ErrRequestError = errors.New("http request status not OK") + var ErrSignFailed = errors.New("failed to sign document") + var ErrTinMismatch = errors.New("ID value and TIN mismatch") + var PlatformEndpoints = &platformEndpoints + func MustParsePrivateKey(privKey, passphrase []byte) *rsa.PrivateKey + func NewCertWrapper(cert []byte) (*x509CertWrapper, error) + type AcceptedDocument struct + InvoiceCodeNumber string + UUID string + type AddressDetails struct + AdditionalStreetName []TextType + AddressFormatCode []CodeType + AddressLine []AddressLineDetails + AddressTypeCode []CodeType + BlockName []TextType + BuildingName []TextType + BuildingNumber []TextType + CityName []TextType + CitySubdivisionName []TextType + Country []CountryDetails + CountrySubentity []TextType + CountrySubentityCode []CodeType + Department []TextType + District []TextType + Floor []TextType + ID []IdentifierType + InhouseMail []TextType + LocationCoordinate []LocationCoordinateDetails + MarkAttention []TextType + MarkCare []TextType + PlotIdentification []TextType + PostalZone []TextType + Postbox []TextType + Region []TextType + Room []TextType + StreetName []TextType + TimezoneOffset []TextType + type AddressLineDetails struct + Line []TextType + type AirTransportDetails struct + AircraftID []IdentifierType + type AllowanceChargeDetails struct + AccountingCost []TextType + AccountingCostCode []CodeType + AllowanceChargeReason []TextType + AllowanceChargeReasonCode []CodeType + Amount []AmountType + BaseAmount []AmountType + ChargeIndicator []IndicatorType + ID []IdentifierType + MultiplierFactorNumeric []NumericType + PaymentMeans []PaymentMeansDetails + PerUnitAmount []AmountType + PrepaidIndicator []IndicatorType + SequenceNumeric []NumericType + TaxCategory []TaxCategoryDetails + TaxTotal []TaxTotalDetails + type AmountType struct + CurrencyCodeListVersionID string + CurrencyID string + Empty float64 + type AttachmentDetails struct + EmbeddedDocumentBinaryObject []BinaryObjectType + ExternalReference []ExternalReferenceDetails + type BillingReferenceDetails struct + AdditionalDocumentReference []DocumentReferenceDetails + BillingReferenceLine []BillingReferenceLineDetails + CreditNoteDocumentReference []DocumentReferenceDetails + DebitNoteDocumentReference []DocumentReferenceDetails + InvoiceDocumentReference []DocumentReferenceDetails + ReminderDocumentReference []DocumentReferenceDetails + SelfBilledCreditNoteDocumentReference []DocumentReferenceDetails + SelfBilledInvoiceDocumentReference []DocumentReferenceDetails + type BillingReferenceLineDetails struct + AllowanceCharge []AllowanceChargeDetails + Amount []AmountType + ID []IdentifierType + type BinaryObjectType struct + CharacterSetCode string + Empty string + EncodingCode string + Filename string + Format string + MIMECode string + URI string + type BranchDetails struct + Address []AddressDetails + FinancialInstitution []FinancialInstitutionDetails + ID []IdentifierType + Name []TextType + type CardAccountDetails struct + CardChipCode []CodeType + CardTypeCode []CodeType + ChipApplicationID []IdentifierType + Cv2ID []IdentifierType + ExpiryDate []DateType + HolderName []TextType + IssueNumberID []IdentifierType + IssuerID []IdentifierType + NetworkID []IdentifierType + PrimaryAccountNumberID []IdentifierType + ValidityStartDate []DateType + type Cert struct + CertDigest []CertDigest + IssuerSerial []IssuerSerial + type CertDigest struct + DigestMethod []Method + DigestValue []IdentifierType + type CertificateDetails struct + CertificateType []TextType + CertificateTypeCode []CodeType + DocumentReference []DocumentReferenceDetails + ID []IdentifierType + IssuerParty []PartyDetails + Remarks []TextType + Signature []SignatureDetails + type ClauseDetails struct + Content []TextType + ID []IdentifierType + type Client struct + AccessToken *OAuth2Token + ClientID string + ClientSecret string + func NewClient(opt ClientOption) *Client + type ClientOption struct + Cert []byte + ClientID string + ClientSecret string + Environment Environment + PrivKey []byte + PrivKeyPass []byte + Timeout time.Duration + type CodeType struct + Empty string + LanguageID string + ListAgencyID string + ListAgencyName string + ListID string + ListName string + ListSchemeURI string + ListURI string + ListVersionID string + Name string + type CommodityClassificationDetails struct + CargoTypeCode []CodeType + CommodityCode []CodeType + ItemClassificationCode []CodeType + NatureCode []CodeType + type CommunicationDetails struct + Channel []TextType + ChannelCode []CodeType + Value []TextType + type ConditionDetails struct + AttributeID []IdentifierType + Description []TextType + MaximumMeasure []MeasureType + Measure []MeasureType + MinimumMeasure []MeasureType + type ConsignmentDetails struct + AnimalFoodIndicator []IndicatorType + BillOfLadingHolderParty []PartyDetails + BrokerAssignedID []IdentifierType + BulkCargoIndicator []IndicatorType + CarrierAssignedID []IdentifierType + CarrierParty []PartyDetails + CarrierServiceInstructions []TextType + ChargeableWeightMeasure []MeasureType + ChildConsignment []ConsignmentDetails + ChildConsignmentQuantity []QuantityType + CollectPaymentTerms []PaymentTermsDetails + ConsigneeAssignedID []IdentifierType + ConsigneeParty []PartyDetails + ConsignmentQuantity []QuantityType + ConsignorAssignedID []IdentifierType + ConsignorParty []PartyDetails + ConsolidatableIndicator []IndicatorType + ConsolidatedShipment []ShipmentDetails + ContainerizedIndicator []IndicatorType + ContractedCarrierAssignedID []IdentifierType + CustomsClearanceServiceInstructions []TextType + CustomsDeclaration []CustomsDeclarationDetails + DeclaredCustomsValueAmount []AmountType + DeclaredForCarriageValueAmount []AmountType + DeclaredStatisticsValueAmount []AmountType + DeliveryInstructions []TextType + DeliveryTerms []DeliveryTermsDetails + DisbursementPaymentTerms []PaymentTermsDetails + ExporterParty []PartyDetails + ExtraAllowanceCharge []AllowanceChargeDetails + FinalDeliveryParty []PartyDetails + FinalDeliveryTransportationService []TransportationServiceDetails + FinalDestinationCountry []CountryDetails + FirstArrivalPortLocation []LocationDetails + ForwarderServiceInstructions []TextType + FreeOnBoardValueAmount []AmountType + FreightAllowanceCharge []AllowanceChargeDetails + FreightForwarderAssignedID []IdentifierType + FreightForwarderParty []PartyDetails + GeneralCargoIndicator []IndicatorType + GrossVolumeMeasure []MeasureType + GrossWeightMeasure []MeasureType + HandlingCode []CodeType + HandlingInstructions []TextType + HaulageInstructions []TextType + HazardousItemNotificationParty []PartyDetails + HazardousRiskIndicator []IndicatorType + HumanFoodIndicator []IndicatorType + ID []IdentifierType + ImporterParty []PartyDetails + Information []TextType + InsuranceParty []PartyDetails + InsurancePremiumAmount []AmountType + InsuranceValueAmount []AmountType + LastExitPortLocation []LocationDetails + LivestockIndicator []IndicatorType + LoadingLengthMeasure []MeasureType + LoadingSequenceID []IdentifierType + LogisticsOperatorParty []PartyDetails + MainCarriageShipmentStage []ShipmentStageDetails + MortgageHolderParty []PartyDetails + NetNetWeightMeasure []MeasureType + NetVolumeMeasure []MeasureType + NetWeightMeasure []MeasureType + NotifyParty []PartyDetails + OnCarriageShipmentStage []ShipmentStageDetails + OriginalDepartureCountry []CountryDetails + OriginalDespatchParty []PartyDetails + OriginalDespatchTransportationService []TransportationServiceDetails + PaymentTerms []PaymentTermsDetails + PerformingCarrierAssignedID []IdentifierType + PerformingCarrierParty []PartyDetails + PlannedDeliveryTransportEvent []TransportEventDetails + PlannedPickupTransportEvent []TransportEventDetails + PreCarriageShipmentStage []ShipmentStageDetails + PrepaidPaymentTerms []PaymentTermsDetails + Remarks []TextType + RequestedDeliveryTransportEvent []TransportEventDetails + RequestedPickupTransportEvent []TransportEventDetails + SequenceID []IdentifierType + ShippingPriorityLevelCode []CodeType + SpecialInstructions []TextType + SpecialSecurityIndicator []IndicatorType + SpecialServiceInstructions []TextType + SplitConsignmentIndicator []IndicatorType + Status []StatusDetails + SubstituteCarrierParty []PartyDetails + SummaryDescription []TextType + TariffCode []CodeType + TariffDescription []TextType + ThirdPartyPayerIndicator []IndicatorType + TotalGoodsItemQuantity []QuantityType + TotalInvoiceAmount []AmountType + TotalPackagesQuantity []QuantityType + TotalTransportHandlingUnitQuantity []QuantityType + TransitCountry []CountryDetails + TransportAdvisorParty []PartyDetails + TransportContract []ContractDetails + TransportEvent []TransportEventDetails + TransportHandlingUnit []TransportHandlingUnitDetails + type ContactDetails struct + ElectronicMail []TextType + ID []IdentifierType + Name []TextType + Note []TextType + OtherCommunication []CommunicationDetails + Telefax []TextType + Telephone []TextType + type ContractDetails struct + ContractDocumentReference []DocumentReferenceDetails + ContractType []TextType + ContractTypeCode []CodeType + ContractualDelivery []DeliveryDetails + Description []TextType + ID []IdentifierType + IssueDate []DateType + IssueTime []TimeType + NominationDate []DateType + NominationPeriod []PeriodDetails + NominationTime []TimeType + Note []TextType + ValidityPeriod []PeriodDetails + VersionID []IdentifierType + type CorporateRegistrationSchemeDetails struct + CorporateRegistrationTypeCode []CodeType + ID []IdentifierType + JurisdictionRegionAddress []AddressDetails + Name []TextType + type CountryDetails struct + IdentificationCode []CodeType + Name []TextType + type CreditAccountDetails struct + AccountID []IdentifierType + type CreditNoteLineDetails struct + AccountingCost []TextType + AccountingCostCode []CodeType + AllowanceCharge []AllowanceChargeDetails + BillingReference []BillingReferenceDetails + CreditedQuantity []QuantityType + Delivery []DeliveryDetails + DeliveryTerms []DeliveryTermsDetails + DespatchLineReference []LineReferenceDetails + DiscrepancyResponse []ResponseDetails + DocumentReference []DocumentReferenceDetails + FreeOfChargeIndicator []IndicatorType + ID []IdentifierType + InvoicePeriod []PeriodDetails + Item []ItemDetails + ItemPriceExtension []PriceExtensionDetails + LineExtensionAmount []AmountType + Note []TextType + OrderLineReference []OrderLineReferenceDetails + OriginatorParty []PartyDetails + PaymentPurposeCode []CodeType + PaymentTerms []PaymentTermsDetails + Price []PriceDetails + PricingReference []PricingReferenceDetails + ReceiptLineReference []LineReferenceDetails + SubCreditNoteLine []CreditNoteLineDetails + TaxPointDate []DateType + TaxTotal []TaxTotalDetails + UUID []IdentifierType + type CustomerPartyDetails struct + AccountingContact []ContactDetails + AdditionalAccountID []IdentifierType + BuyerContact []ContactDetails + CustomerAssignedAccountID []IdentifierType + DeliveryContact []ContactDetails + Party []PartyDetails + SupplierAssignedAccountID []IdentifierType + type CustomsDeclarationDetails struct + ID []IdentifierType + IssuerParty []PartyDetails + type DateType struct + Empty string + type DeliveryDetails struct + ActualDeliveryDate []DateType + ActualDeliveryTime []TimeType + AlternativeDeliveryLocation []LocationDetails + CarrierParty []PartyDetails + DeliveryAddress []AddressDetails + DeliveryLocation []LocationDetails + DeliveryParty []PartyDetails + DeliveryTerms []DeliveryTermsDetails + Despatch []DespatchDetails + EstimatedDeliveryPeriod []PeriodDetails + ID []IdentifierType + LatestDeliveryDate []DateType + LatestDeliveryTime []TimeType + MaximumDeliveryUnit []DeliveryUnitDetails + MaximumQuantity []QuantityType + MinimumDeliveryUnit []DeliveryUnitDetails + MinimumQuantity []QuantityType + NotifyParty []PartyDetails + PromisedDeliveryPeriod []PeriodDetails + Quantity []QuantityType + ReleaseID []IdentifierType + RequestedDeliveryPeriod []PeriodDetails + Shipment []ShipmentDetails + TrackingID []IdentifierType + type DeliveryTermsDetails struct + AllowanceCharge []AllowanceChargeDetails + Amount []AmountType + DeliveryLocation []LocationDetails + ID []IdentifierType + LossRisk []TextType + LossRiskResponsibilityCode []CodeType + SpecialTerms []TextType + type DeliveryUnitDetails struct + BatchQuantity []QuantityType + ConsumerUnitQuantity []QuantityType + HazardousRiskIndicator []IndicatorType + type DependentPriceReferenceDetails struct + DependentLineReference []LineReferenceDetails + LocationAddress []AddressDetails + Percent []NumericType + type DespatchDetails struct + ActualDespatchDate []DateType + ActualDespatchTime []TimeType + CarrierParty []PartyDetails + Contact []ContactDetails + DespatchAddress []AddressDetails + DespatchLocation []LocationDetails + DespatchParty []PartyDetails + EstimatedDespatchDate []DateType + EstimatedDespatchPeriod []PeriodDetails + EstimatedDespatchTime []TimeType + GuaranteedDespatchDate []DateType + GuaranteedDespatchTime []TimeType + ID []IdentifierType + Instructions []TextType + NotifyParty []PartyDetails + ReleaseID []IdentifierType + RequestedDespatchDate []DateType + RequestedDespatchPeriod []PeriodDetails + RequestedDespatchTime []TimeType + type DespatchLineDetails struct + BackorderQuantity []QuantityType + BackorderReason []TextType + DeliveredQuantity []QuantityType + DocumentReference []DocumentReferenceDetails + ID []IdentifierType + Item []ItemDetails + LineStatusCode []CodeType + Note []TextType + OrderLineReference []OrderLineReferenceDetails + OutstandingQuantity []QuantityType + OutstandingReason []TextType + OversupplyQuantity []QuantityType + Shipment []ShipmentDetails + UUID []IdentifierType + type DimensionDetails struct + AttributeID []IdentifierType + Description []TextType + MaximumMeasure []MeasureType + Measure []MeasureType + MinimumMeasure []MeasureType + type Document struct + CodeNumber string + Document string + DocumentHash string + Format string + type DocumentReferenceDetails struct + Attachment []AttachmentDetails + CopyIndicator []IndicatorType + DocumentDescription []TextType + DocumentStatusCode []CodeType + DocumentType []TextType + DocumentTypeCode []CodeType + ID []IdentifierType + IssueDate []DateType + IssueTime []TimeType + IssuerParty []PartyDetails + LanguageID []IdentifierType + LocaleCode []CodeType + ResultOfVerification []ResultOfVerificationDetails + UUID []IdentifierType + ValidityPeriod []PeriodDetails + VersionID []IdentifierType + XPath []TextType + type DocumentSubmission struct + Documents []Document + type DocumentSubmissionResponse struct + AcceptedDocuments []AcceptedDocument + RejectedDocuments []RejectedDocument + SubmissionUid string + type DocumentType struct + ActiveFrom time.Time + ActiveTo time.Time + Description string + DocumentTypeVersions []DocumentTypeVersion + ID int64 + InvoiceTypeCode int64 + WorkflowParameters []WorkflowParameter + type DocumentTypeVersion struct + ActiveFrom time.Time + ActiveTo time.Time + Description string + ID int64 + Name string + Status string + VersionNumber float64 + type DocumentTypes struct + Result []DocumentTypesResult + type DocumentTypesResult struct + ActiveFrom time.Time + ActiveTo time.Time + Description string + DocumentTypeVersions []DocumentTypeVersion + ID int64 + InvoiceTypeCode int64 + type EInvoiceAPI struct + func (e *EInvoiceAPI) CancelDocument(accessToken, uuid, reason string) (*UpdateStatusResponse, error) + func (e *EInvoiceAPI) GetDocumentDetails(accessToken, uuid string) (*GetDocumentDetailsResponse, error) + func (e *EInvoiceAPI) GetRecentDocuments(limit int) ([]GetDocumentDetailsResponse, error) + func (e *EInvoiceAPI) RejectDocument(accessToken, uuid, reason string) (*UpdateStatusResponse, error) + func (e *EInvoiceAPI) SubmitDocuments(accessToken string, docs []Ubl21Invoice) (*DocumentSubmissionResponse, error) + func (e *EInvoiceAPI) SubmitRawXML(accessToken string, docXML []byte) (*DocumentSubmissionResponse, error) + func (e *EInvoiceAPI) ValidateTaxpayerTIN(accessToken, tin, idType, idValue string) (bool, error) + type EmissionCalculationMethodDetails struct + CalculationMethodCode []CodeType + FullnessIndicationCode []CodeType + MeasurementFromLocation []LocationDetails + MeasurementToLocation []LocationDetails + type Environment string + const Production + const Sandbox + type EnvironmentalEmissionDetails struct + Description []TextType + EmissionCalculationMethod []EmissionCalculationMethodDetails + EnvironmentalEmissionTypeCode []CodeType + ValueMeasure []MeasureType + type Error struct + Code string + Details []Error + Message string + Target string + type ExchangeRateDetails struct + CalculationRate []NumericType + Date []DateType + ExchangeMarketID []IdentifierType + ForeignExchangeContract []ContractDetails + MathematicOperatorCode []CodeType + SourceCurrencyBaseRate []NumericType + SourceCurrencyCode []CodeType + TargetCurrencyBaseRate []NumericType + TargetCurrencyCode []CodeType + type ExternalReferenceDetails struct + CharacterSetCode []CodeType + Description []TextType + DocumentHash []TextType + EncodingCode []CodeType + ExpiryDate []DateType + ExpiryTime []TimeType + FileName []TextType + FormatCode []CodeType + HashAlgorithmMethod []TextType + MIMECode []CodeType + URI []IdentifierType + type FinancialAccountDetails struct + AccountFormatCode []CodeType + AccountTypeCode []CodeType + AliasName []TextType + Country []CountryDetails + CurrencyCode []CodeType + FinancialInstitutionBranch []BranchDetails + ID []IdentifierType + Name []TextType + PaymentNote []TextType + type FinancialInstitutionDetails struct + Address []AddressDetails + ID []IdentifierType + Name []TextType + type GetDocumentDetailsResponse struct + CancelDateTime time.Time + CreatedByUserID string + DateTimeIssued time.Time + DateTimeReceived time.Time + DateTimeValidated time.Time + DocumentStatusReason string + InternalID string + IssuerName string + IssuerTin string + LongID string + ReceiverID string + ReceiverName string + RejectRequestDateTime time.Time + Status string + SubmissionUid string + TotalDiscount float64 + TotalExcludingTax float64 + TotalNetAmount float64 + TotalPayableAmount float64 + TypeName string + TypeVersionName string + UUID string + ValidationResults ValidationResults + type GetDocumentsOption struct + Direction string + DocumentType string + IssueDateFrom time.Time + IssueDateTo time.Time + IssuerId string + IssuerIdType string + IssuerTin string + PageNo int + PageSize int + ReceiverId string + ReceiverIdType string + ReceiverTin string + Status string + SubmissionDateFrom time.Time + SubmissionDateTo time.Time + type GoodsItemContainerDetails struct + ID []IdentifierType + Quantity []QuantityType + TransportEquipment []TransportEquipmentDetails + type GoodsItemDetails struct + ChargeableQuantity []QuantityType + ChargeableWeightMeasure []MeasureType + ContainedGoodsItem []GoodsItemDetails + ContainingPackage []PackageDetails + CustomsImportClassifiedIndicator []IndicatorType + CustomsStatusCode []CodeType + CustomsTariffQuantity []QuantityType + DeclaredCustomsValueAmount []AmountType + DeclaredForCarriageValueAmount []AmountType + DeclaredStatisticsValueAmount []AmountType + Delivery []DeliveryDetails + Description []TextType + Despatch []DespatchDetails + FreeOnBoardValueAmount []AmountType + FreightAllowanceCharge []AllowanceChargeDetails + GoodsItemContainer []GoodsItemContainerDetails + GrossVolumeMeasure []MeasureType + GrossWeightMeasure []MeasureType + HazardousRiskIndicator []IndicatorType + ID []IdentifierType + InsuranceValueAmount []AmountType + InvoiceLine []InvoiceLineDetails + Item []ItemDetails + MaximumTemperature []TemperatureDetails + MeasurementDimension []DimensionDetails + MinimumTemperature []TemperatureDetails + NetNetWeightMeasure []MeasureType + NetVolumeMeasure []MeasureType + NetWeightMeasure []MeasureType + OriginAddress []AddressDetails + Pickup []PickupDetails + PreferenceCriterionCode []CodeType + Quantity []QuantityType + RequiredCustomsID []IdentifierType + ReturnableQuantity []QuantityType + SequenceNumberID []IdentifierType + ShipmentDocumentReference []DocumentReferenceDetails + Temperature []TemperatureDetails + TraceID []IdentifierType + ValueAmount []AmountType + type HazardousGoodsTransitDetails struct + HazardousRegulationCode []CodeType + InhalationToxicityZoneCode []CodeType + MaximumTemperature []TemperatureDetails + MinimumTemperature []TemperatureDetails + PackingCriteriaCode []CodeType + TransportAuthorizationCode []CodeType + TransportEmergencyCardCode []CodeType + type HazardousItemDetails struct + AdditionalInformation []TextType + AdditionalTemperature []TemperatureDetails + CategoryName []TextType + ContactParty []PartyDetails + EmergencyProceduresCode []CodeType + EmergencyTemperature []TemperatureDetails + FlashpointTemperature []TemperatureDetails + HazardClassID []IdentifierType + HazardousCategoryCode []CodeType + HazardousGoodsTransit []HazardousGoodsTransitDetails + ID []IdentifierType + LowerOrangeHazardPlacardID []IdentifierType + MarkingID []IdentifierType + MedicalFirstAidGuideCode []CodeType + NetVolumeMeasure []MeasureType + NetWeightMeasure []MeasureType + PlacardEndorsement []TextType + PlacardNotation []TextType + Quantity []QuantityType + SecondaryHazard []SecondaryHazardDetails + TechnicalName []TextType + UNDGCode []CodeType + UpperOrangeHazardPlacardID []IdentifierType + type IdentifierType struct + Empty string + SchemeAgencyID string + SchemeAgencyName string + SchemeDataURI string + SchemeID string + SchemeName string + SchemeURI string + SchemeVersionID string + type IndicatorType struct + Empty bool + type InvoiceDetails struct + AccountingCost []TextType + AccountingCostCode []CodeType + AccountingCustomerParty []CustomerPartyDetails + AccountingSupplierParty []SupplierPartyDetails + AdditionalDocumentReference []DocumentReferenceDetails + AllowanceCharge []AllowanceChargeDetails + BillingReference []BillingReferenceDetails + BuyerCustomerParty []CustomerPartyDetails + BuyerReference []TextType + ContractDocumentReference []DocumentReferenceDetails + CopyIndicator []IndicatorType + CustomizationID []IdentifierType + Delivery []DeliveryDetails + DeliveryTerms []DeliveryTermsDetails + DespatchDocumentReference []DocumentReferenceDetails + DocumentCurrencyCode []CodeType + DueDate []DateType + ID []IdentifierType + InvoiceLine []InvoiceLineDetails + InvoicePeriod []PeriodDetails + InvoiceTypeCode []CodeType + IssueDate []DateType + IssueTime []TimeType + LegalMonetaryTotal []MonetaryTotalDetails + LineCountNumeric []NumericType + Note []TextType + OrderReference []OrderReferenceDetails + OriginatorDocumentReference []DocumentReferenceDetails + PayeeParty []PartyDetails + PaymentAlternativeCurrencyCode []CodeType + PaymentAlternativeExchangeRate []ExchangeRateDetails + PaymentCurrencyCode []CodeType + PaymentExchangeRate []ExchangeRateDetails + PaymentMeans []PaymentMeansDetails + PaymentTerms []PaymentTermsDetails + PrepaidPayment []PaymentDetails + PricingCurrencyCode []CodeType + PricingExchangeRate []ExchangeRateDetails + ProfileExecutionID []IdentifierType + ProfileID []IdentifierType + ProjectReference []ProjectReferenceDetails + ReceiptDocumentReference []DocumentReferenceDetails + SellerSupplierParty []SupplierPartyDetails + Signature []SignatureDetails + StatementDocumentReference []DocumentReferenceDetails + TaxCurrencyCode []CodeType + TaxExchangeRate []ExchangeRateDetails + TaxPointDate []DateType + TaxRepresentativeParty []PartyDetails + TaxTotal []TaxTotalDetails + UBLExtensions []UBLExtensions + UBLVersionID []IdentifierType + UUID []IdentifierType + WithholdingTaxTotal []TaxTotalDetails + type InvoiceDetails2 struct + AccountingCost []TextType + AccountingCostCode []CodeType + AccountingCustomerParty []CustomerPartyDetails + AccountingSupplierParty []SupplierPartyDetails + AdditionalDocumentReference []DocumentReferenceDetails + AllowanceCharge []AllowanceChargeDetails + BillingReference []BillingReferenceDetails + BuyerCustomerParty []CustomerPartyDetails + BuyerReference []TextType + ContractDocumentReference []DocumentReferenceDetails + CopyIndicator []IndicatorType + CustomizationID []IdentifierType + Delivery []DeliveryDetails + DeliveryTerms []DeliveryTermsDetails + DespatchDocumentReference []DocumentReferenceDetails + DocumentCurrencyCode []CodeType + DueDate []DateType + ID []IdentifierType + InvoiceLine []InvoiceLineDetails + InvoicePeriod []PeriodDetails + InvoiceTypeCode []CodeType + IssueDate []DateType + IssueTime []TimeType + LegalMonetaryTotal []MonetaryTotalDetails + LineCountNumeric []NumericType + Note []TextType + OrderReference []OrderReferenceDetails + OriginatorDocumentReference []DocumentReferenceDetails + PayeeParty []PartyDetails + PaymentAlternativeCurrencyCode []CodeType + PaymentAlternativeExchangeRate []ExchangeRateDetails + PaymentCurrencyCode []CodeType + PaymentExchangeRate []ExchangeRateDetails + PaymentMeans []PaymentMeansDetails + PaymentTerms []PaymentTermsDetails + PrepaidPayment []PaymentDetails + PricingCurrencyCode []CodeType + PricingExchangeRate []ExchangeRateDetails + ProfileExecutionID []IdentifierType + ProfileID []IdentifierType + ProjectReference []ProjectReferenceDetails + ReceiptDocumentReference []DocumentReferenceDetails + SellerSupplierParty []SupplierPartyDetails + Signature []SignatureDetails + StatementDocumentReference []DocumentReferenceDetails + TaxCurrencyCode []CodeType + TaxExchangeRate []ExchangeRateDetails + TaxPointDate []DateType + TaxRepresentativeParty []PartyDetails + TaxTotal []TaxTotalDetails + UBLExtensions []UBLExtensions + UBLVersionID []IdentifierType + UUID []IdentifierType + WithholdingTaxTotal []TaxTotalDetails + type InvoiceLineDetails struct + AccountingCost []TextType + AccountingCostCode []CodeType + AllowanceCharge []AllowanceChargeDetails + BillingReference []BillingReferenceDetails + Delivery []DeliveryDetails + DeliveryTerms []DeliveryTermsDetails + DespatchLineReference []LineReferenceDetails + DocumentReference []DocumentReferenceDetails + FreeOfChargeIndicator []IndicatorType + ID []IdentifierType + InvoicePeriod []PeriodDetails + InvoicedQuantity []QuantityType + Item []ItemDetails + ItemPriceExtension []PriceExtensionDetails + LineExtensionAmount []AmountType + Note []TextType + OrderLineReference []OrderLineReferenceDetails + OriginatorParty []PartyDetails + PaymentPurposeCode []CodeType + PaymentTerms []PaymentTermsDetails + Price []PriceDetails + PricingReference []PricingReferenceDetails + ReceiptLineReference []LineReferenceDetails + SubInvoiceLine []InvoiceLineDetails + TaxPointDate []DateType + TaxTotal []TaxTotalDetails + UUID []IdentifierType + WithholdingTaxTotal []TaxTotalDetails + type IssuerSerial struct + X509IssuerName []IdentifierType + X509SerialNumber []IdentifierType + type ItemDetails struct + AdditionalInformation []TextType + AdditionalItemIdentification []ItemIdentificationDetails + AdditionalItemProperty []ItemPropertyDetails + BrandName []TextType + BuyersItemIdentification []ItemIdentificationDetails + CatalogueDocumentReference []DocumentReferenceDetails + CatalogueIndicator []IndicatorType + CatalogueItemIdentification []ItemIdentificationDetails + Certificate []CertificateDetails + ClassifiedTaxCategory []TaxCategoryDetails + CommodityClassification []CommodityClassificationDetails + Description []TextType + Dimension []DimensionDetails + HazardousItem []HazardousItemDetails + HazardousRiskIndicator []IndicatorType + InformationContentProviderParty []PartyDetails + ItemInstance []ItemInstanceDetails + ItemSpecificationDocumentReference []DocumentReferenceDetails + Keyword []TextType + ManufacturerParty []PartyDetails + ManufacturersItemIdentification []ItemIdentificationDetails + ModelName []TextType + Name []TextType + OriginAddress []AddressDetails + OriginCountry []CountryDetails + PackQuantity []QuantityType + PackSizeNumeric []NumericType + SellersItemIdentification []ItemIdentificationDetails + StandardItemIdentification []ItemIdentificationDetails + TransactionConditions []TransactionConditionsDetails + type ItemIdentificationDetails struct + BarcodeSymbologyID []IdentifierType + ExtendedID []IdentifierType + ID []IdentifierType + IssuerParty []PartyDetails + MeasurementDimension []DimensionDetails + PhysicalAttribute []PhysicalAttributeDetails + type ItemInstanceDetails struct + AdditionalItemProperty []ItemPropertyDetails + BestBeforeDate []DateType + LotIdentification []LotIdentificationDetails + ManufactureDate []DateType + ManufactureTime []TimeType + ProductTraceID []IdentifierType + RegistrationID []IdentifierType + SerialID []IdentifierType + type ItemLocationQuantityDetails struct + AllowanceCharge []AllowanceChargeDetails + ApplicableTaxCategory []TaxCategoryDetails + ApplicableTerritoryAddress []AddressDetails + DeliveryUnit []DeliveryUnitDetails + DependentPriceReference []DependentPriceReferenceDetails + HazardousRiskIndicator []IndicatorType + LeadTimeMeasure []MeasureType + MaximumQuantity []QuantityType + MinimumQuantity []QuantityType + Package []PackageDetails + Price []PriceDetails + TradingRestrictions []TextType + type ItemPropertyDetails struct + ID []IdentifierType + ImportanceCode []CodeType + ItemPropertyGroup []ItemPropertyGroupDetails + ItemPropertyRange []ItemPropertyRangeDetails + ListValue []TextType + Name []TextType + NameCode []CodeType + RangeDimension []DimensionDetails + TestMethod []TextType + UsabilityPeriod []PeriodDetails + Value []TextType + ValueQualifier []TextType + ValueQuantity []QuantityType + type ItemPropertyGroupDetails struct + ID []IdentifierType + ImportanceCode []CodeType + Name []TextType + type ItemPropertyRangeDetails struct + MaximumValue []TextType + MinimumValue []TextType + type KeyInfo struct + X509Data []X509Datum + type LanguageDetails struct + ID []IdentifierType + LocaleCode []CodeType + Name []TextType + type LineReferenceDetails struct + DocumentReference []DocumentReferenceDetails + LineID []IdentifierType + LineStatusCode []CodeType + UUID []IdentifierType + type LocationCoordinateDetails struct + AltitudeMeasure []MeasureType + CoordinateSystemCode []CodeType + LatitudeDegreesMeasure []MeasureType + LatitudeDirectionCode []CodeType + LatitudeMinutesMeasure []MeasureType + LongitudeDegreesMeasure []MeasureType + LongitudeDirectionCode []CodeType + LongitudeMinutesMeasure []MeasureType + type LocationDetails struct + Address []AddressDetails + Conditions []TextType + CountrySubentity []TextType + CountrySubentityCode []CodeType + Description []TextType + ID []IdentifierType + InformationURI []IdentifierType + LocationCoordinate []LocationCoordinateDetails + LocationTypeCode []CodeType + Name []TextType + SubsidiaryLocation []LocationDetails + ValidityPeriod []PeriodDetails + type LotIdentificationDetails struct + AdditionalItemProperty []ItemPropertyDetails + ExpiryDate []DateType + LotNumberID []IdentifierType + type MaritimeTransportDetails struct + GrossTonnageMeasure []MeasureType + NetTonnageMeasure []MeasureType + RadioCallSignID []IdentifierType + RegistryCertificateDocumentReference []DocumentReferenceDetails + RegistryPortLocation []LocationDetails + ShipsRequirements []TextType + VesselID []IdentifierType + VesselName []TextType + type MeasureType struct + Empty float64 + UnitCode string + UnitCodeListVersionID string + type Method struct + Algorithm string + Empty string + type MonetaryTotalDetails struct + AllowanceTotalAmount []AmountType + ChargeTotalAmount []AmountType + LineExtensionAmount []AmountType + PayableAlternativeAmount []AmountType + PayableAmount []AmountType + PayableRoundingAmount []AmountType + PrepaidAmount []AmountType + TaxExclusiveAmount []AmountType + TaxInclusiveAmount []AmountType + type NumericType struct + Empty float64 + Format string + type OAuth2Token struct + AccessToken string + ExpiresIn int + Scope string + TokenType string + type Object struct + QualifyingProperties []QualifyingProperty + type OrderLineReferenceDetails struct + LineID []IdentifierType + LineStatusCode []CodeType + OrderReference []OrderReferenceDetails + SalesOrderLineID []IdentifierType + UUID []IdentifierType + type OrderReferenceDetails struct + CopyIndicator []IndicatorType + CustomerReference []TextType + DocumentReference []DocumentReferenceDetails + ID []IdentifierType + IssueDate []DateType + IssueTime []TimeType + OrderTypeCode []CodeType + SalesOrderID []IdentifierType + UUID []IdentifierType + type PackageDetails struct + ContainedPackage []PackageDetails + ContainingTransportEquipment []TransportEquipmentDetails + Delivery []DeliveryDetails + DeliveryUnit []DeliveryUnitDetails + Despatch []DespatchDetails + GoodsItem []GoodsItemDetails + ID []IdentifierType + MeasurementDimension []DimensionDetails + PackageLevelCode []CodeType + PackagingTypeCode []CodeType + PackingMaterial []TextType + Pickup []PickupDetails + Quantity []QuantityType + ReturnableMaterialIndicator []IndicatorType + TraceID []IdentifierType + type PartyDetails struct + AgentParty []PartyDetails + Contact []ContactDetails + EndpointID []IdentifierType + FinancialAccount []FinancialAccountDetails + IndustryClassificationCode []CodeType + Language []LanguageDetails + LogoReferenceID []IdentifierType + MarkAttentionIndicator []IndicatorType + MarkCareIndicator []IndicatorType + PartyIdentification []PartyIdentificationDetails + PartyLegalEntity []PartyLegalEntityDetails + PartyName []PartyNameDetails + PartyTaxScheme []PartyTaxSchemeDetails + Person []PersonDetails + PhysicalLocation []LocationDetails + PostalAddress []AddressDetails + PowerOfAttorney []PowerOfAttorneyDetails + ServiceProviderParty []ServiceProviderPartyDetails + WebsiteURI []IdentifierType + type PartyIdentificationDetails struct + ID []IdentifierType + type PartyLegalEntityDetails struct + CompanyID []IdentifierType + CompanyLegalForm []TextType + CompanyLegalFormCode []CodeType + CompanyLiquidationStatusCode []CodeType + CorporateRegistrationScheme []CorporateRegistrationSchemeDetails + CorporateStockAmount []AmountType + FullyPaidSharesIndicator []IndicatorType + HeadOfficeParty []PartyDetails + RegistrationAddress []AddressDetails + RegistrationDate []DateType + RegistrationExpirationDate []DateType + RegistrationName []TextType + ShareholderParty []ShareholderPartyDetails + SoleProprietorshipIndicator []IndicatorType + type PartyNameDetails struct + Name []TextType + type PartyTaxSchemeDetails struct + CompanyID []IdentifierType + ExemptionReason []TextType + ExemptionReasonCode []CodeType + RegistrationAddress []AddressDetails + RegistrationName []TextType + TaxLevelCode []CodeType + TaxScheme []TaxSchemeDetails + type PaymentDetails struct + ID []IdentifierType + InstructionID []IdentifierType + PaidAmount []AmountType + PaidDate []DateType + PaidTime []TimeType + ReceivedDate []DateType + type PaymentMandateDetails struct + Clause []ClauseDetails + ID []IdentifierType + MandateTypeCode []CodeType + MaximumPaidAmount []AmountType + MaximumPaymentInstructionsNumeric []NumericType + PayerFinancialAccount []FinancialAccountDetails + PayerParty []PartyDetails + PaymentReversalPeriod []PeriodDetails + SignatureID []IdentifierType + ValidityPeriod []PeriodDetails + type PaymentMeansDetails struct + CardAccount []CardAccountDetails + CreditAccount []CreditAccountDetails + ID []IdentifierType + InstructionID []IdentifierType + InstructionNote []TextType + PayeeFinancialAccount []FinancialAccountDetails + PayerFinancialAccount []FinancialAccountDetails + PaymentChannelCode []CodeType + PaymentDueDate []DateType + PaymentID []IdentifierType + PaymentMandate []PaymentMandateDetails + PaymentMeansCode []CodeType + TradeFinancing []TradeFinancingDetails + type PaymentTermsDetails struct + Amount []AmountType + ExchangeRate []ExchangeRateDetails + ID []IdentifierType + InstallmentDueDate []DateType + InvoicingPartyReference []TextType + Note []TextType + PaymentDueDate []DateType + PaymentMeansID []IdentifierType + PaymentPercent []NumericType + PaymentTermsDetailsURI []IdentifierType + PenaltyAmount []AmountType + PenaltyPeriod []PeriodDetails + PenaltySurchargePercent []NumericType + PrepaidPaymentReferenceID []IdentifierType + ReferenceEventCode []CodeType + SettlementDiscountAmount []AmountType + SettlementDiscountPercent []NumericType + SettlementPeriod []PeriodDetails + ValidityPeriod []PeriodDetails + type PeriodDetails struct + Description []TextType + DescriptionCode []CodeType + DurationMeasure []MeasureType + EndDate []DateType + EndTime []TimeType + StartDate []DateType + StartTime []TimeType + type PersonDetails struct + BirthDate []DateType + BirthplaceName []TextType + Contact []ContactDetails + FamilyName []TextType + FinancialAccount []FinancialAccountDetails + FirstName []TextType + GenderCode []CodeType + ID []IdentifierType + IdentityDocumentReference []DocumentReferenceDetails + JobTitle []TextType + MiddleName []TextType + NameSuffix []TextType + NationalityID []IdentifierType + OrganizationDepartment []TextType + OtherName []TextType + ResidenceAddress []AddressDetails + Title []TextType + type PhysicalAttributeDetails struct + AttributeID []IdentifierType + Description []TextType + DescriptionCode []CodeType + PositionCode []CodeType + type PickupDetails struct + ActualPickupDate []DateType + ActualPickupTime []TimeType + EarliestPickupDate []DateType + EarliestPickupTime []TimeType + ID []IdentifierType + LatestPickupDate []DateType + LatestPickupTime []TimeType + PickupLocation []LocationDetails + PickupParty []PartyDetails + type PlatformAPI struct + func (p *PlatformAPI) GetAllDocumentTypes(accessToken string) (*DocumentTypes, error) + func (p *PlatformAPI) GetDocumentType(accessToken string, id int) (*DocumentType, error) + func (p *PlatformAPI) LoginAsIntermediaries(onbehalfof string) (*OAuth2Token, error) + func (p *PlatformAPI) LoginAsTaxpayer() (*OAuth2Token, error) + type PowerOfAttorneyDetails struct + AgentParty []PartyDetails + Description []TextType + ID []IdentifierType + IssueDate []DateType + IssueTime []TimeType + MandateDocumentReference []DocumentReferenceDetails + NotaryParty []PartyDetails + WitnessParty []PartyDetails + type PriceDetails struct + AllowanceCharge []AllowanceChargeDetails + BaseQuantity []QuantityType + OrderableUnitFactorRate []NumericType + PriceAmount []AmountType + PriceChangeReason []TextType + PriceList []PriceListDetails + PriceType []TextType + PriceTypeCode []CodeType + PricingExchangeRate []ExchangeRateDetails + ValidityPeriod []PeriodDetails + type PriceExtensionDetails struct + Amount []AmountType + TaxTotal []TaxTotalDetails + type PriceListDetails struct + ID []IdentifierType + PreviousPriceList []PriceListDetails + StatusCode []CodeType + ValidityPeriod []PeriodDetails + type PricingReferenceDetails struct + AlternativeConditionPrice []PriceDetails + OriginalItemLocationQuantity []ItemLocationQuantityDetails + type ProjectReferenceDetails struct + ID []IdentifierType + IssueDate []DateType + UUID []IdentifierType + WorkPhaseReference []WorkPhaseReferenceDetails + type QualifyingProperty struct + SignedProperties []SignedProperty + Target string + type QuantityType struct + Empty float64 + UnitCode string + UnitCodeListAgencyID string + UnitCodeListAgencyName string + UnitCodeListID string + type RailTransportDetails struct + RailCarID []IdentifierType + TrainID []IdentifierType + type ReceiptLineDetails struct + DespatchLineReference []LineReferenceDetails + DocumentReference []DocumentReferenceDetails + ID []IdentifierType + Item []ItemDetails + Note []TextType + OrderLineReference []OrderLineReferenceDetails + OversupplyQuantity []QuantityType + QuantityDiscrepancyCode []CodeType + ReceivedDate []DateType + ReceivedQuantity []QuantityType + RejectActionCode []CodeType + RejectReason []TextType + RejectReasonCode []CodeType + RejectedQuantity []QuantityType + Shipment []ShipmentDetails + ShortQuantity []QuantityType + ShortageActionCode []CodeType + TimingComplaint []TextType + TimingComplaintCode []CodeType + UUID []IdentifierType + type Reference struct + DigestMethod []Method + DigestValue []IdentifierType + Type string + URI string + type RejectedDocument struct + InvoiceCodeNumber string + type ResponseDetails struct + Description []TextType + EffectiveDate []DateType + EffectiveTime []TimeType + ReferenceID []IdentifierType + ResponseCode []CodeType + Status []StatusDetails + type ResultOfVerificationDetails struct + SignatoryParty []PartyDetails + ValidateProcess []TextType + ValidateTool []TextType + ValidateToolVersion []TextType + ValidationDate []DateType + ValidationResultCode []CodeType + ValidationTime []TimeType + ValidatorID []IdentifierType + type RoadTransportDetails struct + LicensePlateID []IdentifierType + type SecondaryHazardDetails struct + EmergencyProceduresCode []CodeType + Extension []TextType + ID []IdentifierType + PlacardEndorsement []TextType + PlacardNotation []TextType + type ServiceFrequencyDetails struct + WeekDayCode []CodeType + type ServiceProviderPartyDetails struct + ID []IdentifierType + Party []PartyDetails + SellerContact []ContactDetails + ServiceType []TextType + ServiceTypeCode []CodeType + type ShareholderPartyDetails struct + PartecipationPercent []NumericType + Party []PartyDetails + type ShipmentDetails struct + Consignment []ConsignmentDetails + ConsignmentQuantity []QuantityType + DeclaredCustomsValueAmount []AmountType + DeclaredForCarriageValueAmount []AmountType + DeclaredStatisticsValueAmount []AmountType + Delivery []DeliveryDetails + DeliveryInstructions []TextType + ExportCountry []CountryDetails + FirstArrivalPortLocation []LocationDetails + FreeOnBoardValueAmount []AmountType + FreightAllowanceCharge []AllowanceChargeDetails + GoodsItem []GoodsItemDetails + GrossVolumeMeasure []MeasureType + GrossWeightMeasure []MeasureType + HandlingCode []CodeType + HandlingInstructions []TextType + ID []IdentifierType + Information []TextType + InsuranceValueAmount []AmountType + LastExitPortLocation []LocationDetails + NetNetWeightMeasure []MeasureType + NetVolumeMeasure []MeasureType + NetWeightMeasure []MeasureType + OriginAddress []AddressDetails + ReturnAddress []AddressDetails + ShipmentStage []ShipmentStageDetails + ShippingPriorityLevelCode []CodeType + SpecialInstructions []TextType + SplitConsignmentIndicator []IndicatorType + TotalGoodsItemQuantity []QuantityType + TotalTransportHandlingUnitQuantity []QuantityType + TransportHandlingUnit []TransportHandlingUnitDetails + type ShipmentStageDetails struct + AcceptanceTransportEvent []TransportEventDetails + ActualArrivalTransportEvent []TransportEventDetails + ActualDepartureTransportEvent []TransportEventDetails + ActualPickupTransportEvent []TransportEventDetails + ActualWaypointTransportEvent []TransportEventDetails + AvailabilityTransportEvent []TransportEventDetails + CarrierParty []PartyDetails + CrewMemberPerson []PersonDetails + CrewQuantity []QuantityType + CustomsAgentParty []PartyDetails + DeliveryTransportEvent []TransportEventDetails + DemurrageInstructions []TextType + DetentionTransportEvent []TransportEventDetails + DischargeTransportEvent []TransportEventDetails + DriverPerson []PersonDetails + DropoffTransportEvent []TransportEventDetails + EstimatedArrivalTransportEvent []TransportEventDetails + EstimatedDeliveryDate []DateType + EstimatedDeliveryTime []TimeType + EstimatedDepartureTransportEvent []TransportEventDetails + EstimatedTransitPeriod []PeriodDetails + ExaminationTransportEvent []TransportEventDetails + ExportationTransportEvent []TransportEventDetails + FreightAllowanceCharge []AllowanceChargeDetails + FreightChargeLocation []LocationDetails + ID []IdentifierType + Instructions []TextType + LoadingPortLocation []LocationDetails + LoadingSequenceID []IdentifierType + LoadingTransportEvent []TransportEventDetails + MasterPerson []PersonDetails + OnCarriageIndicator []IndicatorType + OptionalTakeoverTransportEvent []TransportEventDetails + PassengerPerson []PersonDetails + PassengerQuantity []QuantityType + PlannedArrivalTransportEvent []TransportEventDetails + PlannedDepartureTransportEvent []TransportEventDetails + PlannedWaypointTransportEvent []TransportEventDetails + PreCarriageIndicator []IndicatorType + ReceiptTransportEvent []TransportEventDetails + ReportingPerson []PersonDetails + RequestedArrivalTransportEvent []TransportEventDetails + RequestedDepartureTransportEvent []TransportEventDetails + RequestedWaypointTransportEvent []TransportEventDetails + RequiredDeliveryDate []DateType + RequiredDeliveryTime []TimeType + SecurityOfficerPerson []PersonDetails + ShipsSurgeonPerson []PersonDetails + StorageTransportEvent []TransportEventDetails + SuccessiveSequenceID []IdentifierType + TakeoverTransportEvent []TransportEventDetails + TerminalOperatorParty []PartyDetails + TransitDirectionCode []CodeType + TransitPeriod []PeriodDetails + TransportEvent []TransportEventDetails + TransportMeans []TransportMeansDetails + TransportMeansTypeCode []CodeType + TransportModeCode []CodeType + TransshipPortLocation []LocationDetails + UnloadingPortLocation []LocationDetails + WarehousingTransportEvent []TransportEventDetails + type Signature struct + ID string + KeyInfo []KeyInfo + Object []Object + SignatureValue []IdentifierType + SignedInfo []SignedInfo + type SignatureDetails struct + CanonicalizationMethod []TextType + DigitalSignatureAttachment []AttachmentDetails + ID []IdentifierType + Note []TextType + OriginalDocumentReference []DocumentReferenceDetails + SignatoryParty []PartyDetails + SignatureMethod []TextType + ValidationDate []DateType + ValidationTime []TimeType + ValidatorID []IdentifierType + type SignatureInformation struct + ID []IdentifierType + ReferencedSignatureID []IdentifierType + Signature []Signature + type SignedInfo struct + Reference []Reference + SignatureMethod []Method + type SignedProperty struct + ID string + SignedSignatureProperties []SignedSignatureProperty + type SignedSignatureProperty struct + SigningCertificate []SigningCertificate + SigningTime []IdentifierType + type SigningCertificate struct + Cert []Cert + type StandardErrorResponse struct + Error Error + type StatusDetails struct + Condition []ConditionDetails + ConditionCode []CodeType + Description []TextType + IndicationIndicator []IndicatorType + Percent []NumericType + ReferenceDate []DateType + ReferenceTime []TimeType + ReliabilityPercent []NumericType + SequenceID []IdentifierType + StatusReason []TextType + StatusReasonCode []CodeType + Text []TextType + type StowageDetails struct + Location []TextType + LocationID []IdentifierType + MeasurementDimension []DimensionDetails + type SupplierPartyDetails struct + AccountingContact []ContactDetails + AdditionalAccountID []IdentifierType + CustomerAssignedAccountID []IdentifierType + DataSendingCapability []TextType + DespatchContact []ContactDetails + Party []PartyDetails + SellerContact []ContactDetails + type TaxCategoryDetails struct + BaseUnitMeasure []MeasureType + ID []IdentifierType + Name []TextType + PerUnitAmount []AmountType + Percent []NumericType + TaxExemptionReason []TextType + TaxExemptionReasonCode []CodeType + TaxScheme []TaxSchemeDetails + TierRange []TextType + TierRatePercent []NumericType + type TaxSchemeDetails struct + CurrencyCode []CodeType + ID []IdentifierType + JurisdictionRegionAddress []AddressDetails + Name []TextType + TaxTypeCode []CodeType + type TaxSubtotalDetails struct + BaseUnitMeasure []MeasureType + CalculationSequenceNumeric []NumericType + PerUnitAmount []AmountType + Percent []NumericType + TaxAmount []AmountType + TaxCategory []TaxCategoryDetails + TaxableAmount []AmountType + TierRange []TextType + TierRatePercent []NumericType + TransactionCurrencyTaxAmount []AmountType + type TaxTotalDetails struct + RoundingAmount []AmountType + TaxAmount []AmountType + TaxEvidenceIndicator []IndicatorType + TaxIncludedIndicator []IndicatorType + TaxSubtotal []TaxSubtotalDetails + type TemperatureDetails struct + AttributeID []IdentifierType + Description []TextType + Measure []MeasureType + type TextType struct + Empty string + LanguageID string + LanguageLocaleID string + type TimeType struct + Empty string + type TokenPayload struct + ClientID string + Exp int + Iat int + IntermedEnforced string + IntermedID string + IntermedTIN string + IsIntermediary string + IsSystem string + IsTaxAdmin string + IsTaxRepres string + Iss string + Name string + NatID string + Nbf int + PreferredUsername string + ProfID string + SSID string + Scope []string + TaxID string + TaxTin string + func DecodeToken(token string) (*TokenPayload, error) + type TradeFinancingDetails struct + Clause []ClauseDetails + ContractDocumentReference []DocumentReferenceDetails + DocumentReference []DocumentReferenceDetails + FinancingFinancialAccount []FinancialAccountDetails + FinancingInstrumentCode []CodeType + FinancingParty []PartyDetails + ID []IdentifierType + type TradingTermsDetails struct + ApplicableAddress []AddressDetails + Information []TextType + Reference []TextType + type TransactionConditionsDetails struct + ActionCode []CodeType + Description []TextType + DocumentReference []DocumentReferenceDetails + ID []IdentifierType + type TransportEquipmentDetails struct + AirFlowPercent []NumericType + AnimalFoodApprovedIndicator []IndicatorType + ApplicableTransportMeans []TransportMeansDetails + AttachedTransportEquipment []TransportEquipmentDetails + Characteristics []TextType + ContainedInTransportEquipment []TransportEquipmentDetails + DamageRemarks []TextType + DangerousGoodsApprovedIndicator []IndicatorType + Delivery []DeliveryDetails + DeliveryTransportEvent []TransportEventDetails + Description []TextType + Despatch []DespatchDetails + DispositionCode []CodeType + FreightAllowanceCharge []AllowanceChargeDetails + FullnessIndicationCode []CodeType + GoodsItem []GoodsItemDetails + GrossVolumeMeasure []MeasureType + GrossWeightMeasure []MeasureType + HandlingTransportEvent []TransportEventDetails + HaulageTradingTerms []TradingTermsDetails + HazardousGoodsTransit []HazardousGoodsTransitDetails + HumanFoodApprovedIndicator []IndicatorType + HumidityPercent []NumericType + ID []IdentifierType + Information []TextType + LegalStatusIndicator []IndicatorType + LoadingLocation []LocationDetails + LoadingProofParty []PartyDetails + LoadingTransportEvent []TransportEventDetails + MaximumTemperature []TemperatureDetails + MeasurementDimension []DimensionDetails + MinimumTemperature []TemperatureDetails + OperatingParty []PartyDetails + OwnerParty []PartyDetails + OwnerTypeCode []CodeType + Package []PackageDetails + PackagedTransportHandlingUnit []TransportHandlingUnitDetails + Pickup []PickupDetails + PickupTransportEvent []TransportEventDetails + PositioningTransportEvent []TransportEventDetails + PowerIndicator []IndicatorType + ProviderParty []PartyDetails + ProviderTypeCode []CodeType + QuarantineTransportEvent []TransportEventDetails + ReferencedConsignmentID []IdentifierType + RefrigeratedIndicator []IndicatorType + RefrigerationOnIndicator []IndicatorType + ReturnabilityIndicator []IndicatorType + ServiceAllowanceCharge []AllowanceChargeDetails + ShipmentDocumentReference []DocumentReferenceDetails + SizeTypeCode []CodeType + SpecialTransportRequirements []TextType + StorageLocation []LocationDetails + SupplierParty []SupplierPartyDetails + TareWeightMeasure []MeasureType + TraceID []IdentifierType + TrackingDeviceCode []CodeType + TransportEquipmentSeal []TransportEquipmentSealDetails + TransportEquipmentTypeCode []CodeType + TransportEvent []TransportEventDetails + UnloadingLocation []LocationDetails + type TransportEquipmentSealDetails struct + Condition []TextType + ID []IdentifierType + SealIssuerTypeCode []CodeType + SealStatusCode []CodeType + SealingPartyType []TextType + type TransportEventDetails struct + CompletionIndicator []IndicatorType + Contact []ContactDetails + CurrentStatus []StatusDetails + Description []TextType + IdentificationID []IdentifierType + Location []LocationDetails + OccurrenceDate []DateType + OccurrenceTime []TimeType + Period []PeriodDetails + ReportedShipment []ShipmentDetails + Signature []SignatureDetails + TransportEventTypeCode []CodeType + type TransportHandlingUnitDetails struct + ActualPackage []PackageDetails + CustomsDeclaration []CustomsDeclarationDetails + DamageRemarks []TextType + FloorSpaceMeasurementDimension []DimensionDetails + GoodsItem []GoodsItemDetails + HandlingCode []CodeType + HandlingInstructions []TextType + HandlingUnitDespatchLine []DespatchLineDetails + HazardousGoodsTransit []HazardousGoodsTransitDetails + HazardousRiskIndicator []IndicatorType + ID []IdentifierType + MaximumTemperature []TemperatureDetails + MeasurementDimension []DimensionDetails + MinimumTemperature []TemperatureDetails + Package []PackageDetails + PalletSpaceMeasurementDimension []DimensionDetails + ReceivedHandlingUnitReceiptLine []ReceiptLineDetails + ReferencedShipment []ShipmentDetails + ShipmentDocumentReference []DocumentReferenceDetails + ShippingMarks []TextType + Status []StatusDetails + TotalGoodsItemQuantity []QuantityType + TotalPackageQuantity []QuantityType + TraceID []IdentifierType + TransportEquipment []TransportEquipmentDetails + TransportHandlingUnitTypeCode []CodeType + TransportMeans []TransportMeansDetails + type TransportMeansDetails struct + AirTransport []AirTransportDetails + DirectionCode []CodeType + JourneyID []IdentifierType + MaritimeTransport []MaritimeTransportDetails + MeasurementDimension []DimensionDetails + OwnerParty []PartyDetails + RailTransport []RailTransportDetails + RegistrationNationality []TextType + RegistrationNationalityID []IdentifierType + RoadTransport []RoadTransportDetails + Stowage []StowageDetails + TradeServiceCode []CodeType + TransportMeansTypeCode []CodeType + type TransportationServiceDetails struct + CommodityClassification []CommodityClassificationDetails + EnvironmentalEmission []EnvironmentalEmissionDetails + EstimatedDurationPeriod []PeriodDetails + FreightRateClassCode []CodeType + Name []TextType + NominationDate []DateType + NominationTime []TimeType + Priority []TextType + ResponsibleTransportServiceProviderParty []PartyDetails + ScheduledServiceFrequency []ServiceFrequencyDetails + SequenceNumeric []NumericType + ShipmentStage []ShipmentStageDetails + SupportedCommodityClassification []CommodityClassificationDetails + SupportedTransportEquipment []TransportEquipmentDetails + TariffClassCode []CodeType + TotalCapacityDimension []DimensionDetails + TransportEquipment []TransportEquipmentDetails + TransportEvent []TransportEventDetails + TransportServiceCode []CodeType + TransportationServiceDescription []TextType + TransportationServiceDetailsURI []IdentifierType + UnsupportedCommodityClassification []CommodityClassificationDetails + UnsupportedTransportEquipment []TransportEquipmentDetails + type UBLDocumentSignature struct + SignatureInformation []SignatureInformation + type UBLDocumentSignatures struct + UBLDocumentSignatures []UBLDocumentSignature + type UBLExtension struct + ExtensionAgencyID []IdentifierType + ExtensionAgencyName []TextType + ExtensionAgencyURI []IdentifierType + ExtensionContent []map[string]interface{} + ExtensionReason []TextType + ExtensionReasonCode []CodeType + ExtensionURI []IdentifierType + ExtensionVersionID []IdentifierType + ID []IdentifierType + Name []TextType + type UBLExtensions struct + UBLExtension []UBLExtension + type Ubl21Invoice struct + A string + B string + D string + E string + Invoice []InvoiceDetails + func UnmarshalUbl21Invoice(data []byte) (Ubl21Invoice, error) + func (r *Ubl21Invoice) Marshal() ([]byte, error) + type UpdateStatusRequest struct + Reason string + Status string + type UpdateStatusResponse struct + Status string + UUID string + type ValidationResults struct + Status string + ValidationSteps []ValidationStep + type ValidationStep struct + Error ValidationStepError + Name string + Status string + type ValidationStepError struct + Error string + ErrorCode string + ErrorMS string + InnerError []ValidationStepError + PropertyName *string + PropertyPath *string + type WorkPhaseReferenceDetails struct + EndDate []DateType + ID []IdentifierType + ProgressPercent []NumericType + StartDate []DateType + WorkOrderDocumentReference []DocumentReferenceDetails + WorkPhase []TextType + WorkPhaseCode []CodeType + type WorkflowParameter struct + ActiveFrom time.Time + ActiveTo time.Time + ID int64 + Parameter string + Value int64 + type X509Datum struct + X509Certificate []IdentifierType + X509IssuerSerial []IssuerSerial + X509SubjectName []IdentifierType