Versions in this module Expand all Collapse all v0 v0.1.1 Oct 7, 2026 v0.1.0 Oct 7, 2026 Changes in this version + const DefaultBaseDelay + const DefaultBaseURL + const DefaultMaxDelay + const DefaultMaxRetries + const DefaultMaxRetryAfter + const DefaultTimeout + const DefaultToleranceSeconds + const Version + const WebhookDeliveryAttemptHeader + const WebhookDeliveryIDHeader + const WebhookEventIDHeader + const WebhookEventTypeHeader + const WebhookSignatureHeader + var ExcludedOperations = []ExcludedOperation + func Collect[T any](ctx context.Context, ...) ([]T, error) + func ComputeWebhookSignature(payload []byte, secret string, timestamp int64) string + func GenerateIdempotencyKey() string + func Paginate[T any](ctx context.Context, ...) error + func ParseRetryAfter(value string, now time.Time) (seconds int, ok bool) + func ParseSignatureHeader(header string) (timestamp int64, signatures []string, err error) + func Ptr[T any](v T) *T + func SignWebhookPayload(payload []byte, secrets []string, timestamp int64) string + type APIError struct + Body any + ErrorCode string + Errors []ErrorDetail + Message string + RequestID string + RetryAfter int + Status int + func (e *APIError) Error() string + type AccessPointBucketDto struct + AccessPoint *string + Count float64 + GrossPayableMinor float64 + type AccountStatsDto struct + AverageDailyConsumption float64 + CurrentBalance int64 + DaysUntilDepleted *int64 + IsLowBalance bool + LifetimeConsumed int64 + LifetimePurchased int64 + type ActiveSubscriptionDto struct + AmountMinor int64 + CancelAtPeriodEnd bool + CreatedAt string + Currency ActiveSubscriptionDtoCurrency + CurrentPeriodEnd *string + CurrentPeriodStart *string + GraceEndsAt *string + ID string + Interval ActiveSubscriptionDtoInterval + Limits PlanLimitsDto + MonthlyCredits int64 + PastDueSince *string + PlanChange *PlanChangeDto + PlanCode string + PlanName string + PlanVersion int64 + Status ActiveSubscriptionDtoStatus + Window *AllocationWindowDto + type ActiveSubscriptionDtoCurrency string + const ActiveSubscriptionDtoCurrencyNGN + const ActiveSubscriptionDtoCurrencyUSD + type ActiveSubscriptionDtoInterval string + const ActiveSubscriptionDtoIntervalMonthly + const ActiveSubscriptionDtoIntervalYearly + type ActiveSubscriptionDtoStatus string + const ActiveSubscriptionDtoStatusActive + const ActiveSubscriptionDtoStatusCancelled + const ActiveSubscriptionDtoStatusExpired + const ActiveSubscriptionDtoStatusPastDue + const ActiveSubscriptionDtoStatusPendingPayment + type AddressResponseDto struct + City string + Country string + Line1 string + Line2 *string + PostalCode *string + State string + type AllocationWindowDto struct + Allocated int64 + End string + Start string + Used int64 + type Amount struct + func AmountNumber(f float64) Amount + func AmountString(s string) Amount + func (a *Amount) UnmarshalJSON(data []byte) error + func (a Amount) Float64() (float64, error) + func (a Amount) IsString() bool + func (a Amount) IsZero() bool + func (a Amount) MarshalJSON() ([]byte, error) + func (a Amount) Raw() json.RawMessage + func (a Amount) String() string + type AmountBucketDto struct + Count float64 + GrossPayableMinor float64 + type AnalyticsTotalsDto struct + ByCurrency []CurrencyBucketDto + Count float64 + GrossPayableMinor float64 + InputVATMinor float64 + PricedCount float64 + type ArchiveItemData = ItemViewDto + type AuthApiPaginationMetaDto struct + CurrentPage *string + HasNext bool + HasPrevious bool + NextPage *string + Page float64 + PageSize float64 + PreviousPage *string + Total float64 + TotalPages float64 + type AuthApiSuccessMetaDto struct + Errors []map[string]string + Message string + Pagination *AuthApiPaginationMetaDto + RequestID string + StatusCode float64 + Success bool + Timestamp string + type AuthenticationError struct + func (e *AuthenticationError) Unwrap() error + type AuthorityCopyDto struct + AuthorityReference string + Document map[string]any + type AuthorityIdentifiersViewDto struct + BusinessID *string + EntityID *string + ServiceID *string + type AuthorityNextActionDto struct + Code string + Steps []string + Title string + type AuthorityStatusDto struct + CheckedAt string + Delivered bool + PaymentStatus *string + Transmitted bool + type AvailablePlanDto struct + Badge *string + Code string + Currency AvailablePlanDtoCurrency + Description string + Features []string + IsCurrent bool + MonthlyCredits int64 + MonthlyPrice int64 + Name string + YearlyCredits int64 + YearlyPrice *int64 + type AvailablePlanDtoCurrency string + const AvailablePlanDtoCurrencyNGN + const AvailablePlanDtoCurrencyUSD + type BalanceBySourceDto struct + Adjustment int64 + Allowance int64 + Plan int64 + Purchase int64 + Transfer int64 + type BatchItemResultDto struct + ErrorCode *string + InvoiceID string + Message *string + Replayed *bool + Status BatchItemResultDtoStatus + SubmissionID *string + type BatchItemResultDtoStatus string + const BatchItemResultDtoStatusFailed + const BatchItemResultDtoStatusQueued + type BatchSubmitDto struct + InvoiceIds []string + type BatchSubmitInvoicesBody = BatchSubmitDto + type BatchSubmitInvoicesData = BatchSubmitResultDto + type BatchSubmitResultDto struct + Results []BatchItemResultDto + TotalFailed int64 + TotalQueued int64 + type BillingAccountDto struct + Balances LedgerBalancesDto + CreatedAt string + CreditBalance int64 + DefaultCurrency BillingAccountDtoDefaultCurrency + ID string + LowBalanceThreshold int64 + Mode BillingAccountDtoMode + OrganizationID string + type BillingAccountDtoDefaultCurrency string + const BillingAccountDtoDefaultCurrencyNGN + const BillingAccountDtoDefaultCurrencyUSD + type BillingAccountDtoMode string + const BillingAccountDtoModeLive + const BillingAccountDtoModeSandbox + type BillingAccountsService struct + func (s *BillingAccountsService) CheckBalance(ctx context.Context, accountID string, query *CheckBillingAccountBalanceQuery, ...) (*CheckBillingAccountBalanceData, error) + func (s *BillingAccountsService) GetMine(ctx context.Context, query *GetBillingAccountQuery, opts ...RequestOption) (*GetBillingAccountData, error) + func (s *BillingAccountsService) GetStats(ctx context.Context, accountID string, query *GetBillingAccountStatsQuery, ...) (*GetBillingAccountStatsData, error) + type BillingApiPaginationMetaDto struct + CurrentPage *string + HasNext bool + HasPrevious bool + NextPage *string + Page float64 + PageSize float64 + PreviousPage *string + Total float64 + TotalPages float64 + type BillingApiSuccessMetaDto struct + Errors []map[string]string + Message string + Pagination *BillingApiPaginationMetaDto + RequestID string + StatusCode float64 + Success bool + Timestamp string + type BillingService struct + Accounts *BillingAccountsService + Payments *PaymentsService + Sandbox *SandboxService + Statements *StatementsService + Subscriptions *SubscriptionsService + Transactions *TransactionsService + type BinaryResponse struct + ContentType string + Data []byte + FileName string + RequestID string + type BulkDeleteBuyersBody = BulkDeleteBuyersDto + type BulkDeleteBuyersData = BulkDeleteResultDto + type BulkDeleteBuyersDto struct + Ids []string + type BulkDeleteResultDto struct + Archived []string + Deleted []string + NotFound []string + type BuyerAddressDto struct + City string + Country string + Lga *string + Line1 string + Line2 *string + PostalCode *string + State *string + type BuyerDeleteResultDto struct + ID string + Outcome BuyerDeleteResultDtoOutcome + type BuyerDeleteResultDtoOutcome string + const BuyerDeleteResultDtoOutcomeArchived + const BuyerDeleteResultDtoOutcomeDeleted + type BuyerNrsCheckDto struct + TaxID string + type BuyerReachabilityAnswerDto struct + AccessPoint *string + BusinessName *string + CheckedAt *string + OnNetwork *bool + Stale bool + TaxID string + Unavailable bool + type BuyerReachabilityViewDto struct + AccessPoint *string + BusinessName *string + CheckedAt string + OnNetwork bool + type BuyerSetupDto struct + Countries []CountryOptionDto + PartyTypes []BuyerSetupDtoPartyTypes + TaxIDTypes []TaxIdTypeOptionDto + type BuyerSetupDtoPartyTypes string + const BuyerSetupDtoPartyTypesCompany + const BuyerSetupDtoPartyTypesGovernment + const BuyerSetupDtoPartyTypesIndividual + const BuyerSetupDtoPartyTypesNonProfit + const BuyerSetupDtoPartyTypesPartnership + type BuyerVerificationRequestedDto struct + State BuyerVerificationRequestedDtoState + VerificationID string + type BuyerVerificationRequestedDtoState string + const BuyerVerificationRequestedDtoStatePending + type BuyerVerificationStatusDto struct + CheckedAt *string + RegisteredName *string + State *BuyerVerificationStatusDtoState + TaxIDStatus BuyerVerificationStatusDtoTaxIDStatus + VerificationID *string + type BuyerVerificationStatusDtoState string + const BuyerVerificationStatusDtoStateNameMismatch + const BuyerVerificationStatusDtoStateNotFound + const BuyerVerificationStatusDtoStatePending + const BuyerVerificationStatusDtoStateUnavailable + const BuyerVerificationStatusDtoStateVerified + type BuyerVerificationStatusDtoTaxIDStatus string + const BuyerVerificationStatusDtoTaxIDStatusChecking + const BuyerVerificationStatusDtoTaxIDStatusNameMismatch + const BuyerVerificationStatusDtoTaxIDStatusNotFound + const BuyerVerificationStatusDtoTaxIDStatusPending + const BuyerVerificationStatusDtoTaxIDStatusUnavailable + const BuyerVerificationStatusDtoTaxIDStatusUnverified + const BuyerVerificationStatusDtoTaxIDStatusValidOffNetwork + const BuyerVerificationStatusDtoTaxIDStatusVerified + type BuyerViewDto struct + Address *PartyAddressDto + ArchivedAt *string + BusinessDescription *string + CreatedAt string + Email *string + ID string + LegalName *string + NRSReachability *BuyerReachabilityViewDto + Name string + PartyType *string + Phone *string + Reference *string + TINProblem *BuyerViewDtoTINProblem + TINUsable bool + TaxID *string + TaxIDStatus BuyerViewDtoTaxIDStatus + TaxIDType BuyerViewDtoTaxIDType + TaxIDVerifiedAt *string + TaxIDVerifiedName *string + TaxIDVerifiedSource *BuyerViewDtoTaxIDVerifiedSource + UpdatedAt string + type BuyerViewDtoTINProblem string + const BuyerViewDtoTINProblemFormat + const BuyerViewDtoTINProblemNotFound + type BuyerViewDtoTaxIDStatus string + const BuyerViewDtoTaxIDStatusChecking + const BuyerViewDtoTaxIDStatusNameMismatch + const BuyerViewDtoTaxIDStatusNotFound + const BuyerViewDtoTaxIDStatusPending + const BuyerViewDtoTaxIDStatusUnavailable + const BuyerViewDtoTaxIDStatusUnverified + const BuyerViewDtoTaxIDStatusValidOffNetwork + const BuyerViewDtoTaxIDStatusVerified + type BuyerViewDtoTaxIDType string + const BuyerViewDtoTaxIDTypeForeign + const BuyerViewDtoTaxIDTypeNone + const BuyerViewDtoTaxIDTypeRn + const BuyerViewDtoTaxIDTypeTIN + type BuyerViewDtoTaxIDVerifiedSource string + const BuyerViewDtoTaxIDVerifiedSourceNRS + const BuyerViewDtoTaxIDVerifiedSourceTINCheck + type BuyersService struct + func (s *BuyersService) BulkDelete(ctx context.Context, params *BulkDeleteBuyersBody, opts ...RequestOption) (*BulkDeleteBuyersData, error) + func (s *BuyersService) CheckReachability(ctx context.Context, query *CheckBuyerReachabilityQuery, opts ...RequestOption) (*CheckBuyerReachabilityData, error) + func (s *BuyersService) CheckWithTaxAuthority(ctx context.Context, params *CheckBuyerWithTaxAuthorityBody, ...) (*CheckBuyerWithTaxAuthorityData, error) + func (s *BuyersService) Create(ctx context.Context, params *CreateBuyerBody, opts ...RequestOption) (*CreateBuyerData, error) + func (s *BuyersService) Delete(ctx context.Context, id string, opts ...RequestOption) (*DeleteBuyerData, error) + func (s *BuyersService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetBuyerData, error) + func (s *BuyersService) GetVerificationStatus(ctx context.Context, id string, opts ...RequestOption) (*GetBuyerVerificationStatusData, error) + func (s *BuyersService) List(ctx context.Context, query *ListBuyersQuery, opts ...RequestOption) (*Page[ListBuyersItem], error) + func (s *BuyersService) Search(ctx context.Context, query *SearchBuyersQuery, opts ...RequestOption) ([]SearchBuyersItem, error) + func (s *BuyersService) Update(ctx context.Context, id string, params *UpdateBuyerBody, opts ...RequestOption) (*UpdateBuyerData, error) + func (s *BuyersService) VerifyTaxNumber(ctx context.Context, id string, opts ...RequestOption) (*VerifyBuyerTaxNumberData, error) + type Call struct + Binary bool + Body any + Headers map[string]string + Idempotent bool + Method string + Options *RequestOptions + Path string + Query any + type CancelInvoiceBody = CancelInvoiceDto + type CancelInvoiceData = InvoiceViewDto + type CancelInvoiceDto struct + Reason string + type CheckBalanceDto struct + CurrentBalance int64 + HasSufficientBalance bool + RequestedCredits int64 + type CheckBillingAccountBalanceData = CheckBalanceDto + type CheckBillingAccountBalanceQuery struct + Credits int64 + Mode *CheckBillingAccountBalanceQueryMode + type CheckBillingAccountBalanceQueryMode string + const CheckBillingAccountBalanceQueryModeLive + const CheckBillingAccountBalanceQueryModeSandbox + type CheckBuyerReachabilityData = BuyerReachabilityAnswerDto + type CheckBuyerReachabilityQuery struct + TaxID string + type CheckBuyerWithTaxAuthorityBody = BuyerNrsCheckDto + type CheckBuyerWithTaxAuthorityData = BuyerReachabilityAnswerDto + type ClaimedIdentifiersViewDto struct + BusinessID *string + ServiceID *string + type Client struct + Billing *BillingService + Buyers *BuyersService + HTTP *HttpClient + InboundInvoices *InboundInvoicesService + InvoiceSettings *InvoiceSettingsService + Invoices *InvoicesService + IssuedHistory *IssuedHistoryService + Items *ItemsService + Organization *OrganizationService + Output *OutputService + Reference *ReferenceService + Sellers *SellersService + ShareLinks *ShareLinksService + Submissions *SubmissionsService + TaxConnection *TaxConnectionService + Webhooks *WebhooksService + func New(apiKey string, opts ...Option) (*Client, error) + func (c *Client) BaseURL() string + func (c *Client) Mode() Mode + type CodeListDto struct + FetchedAt string + Items []map[string]any + Stale bool + Type string + Version float64 + type CodeListIndexDto struct + Jurisdiction string + Lists []CodeListSummaryDto + type CodeListSummaryDto struct + FetchedAt *string + ItemCount float64 + Stale bool + Type string + Version *float64 + type ConfigError struct + Message string + func (e *ConfigError) Error() string + type ConflictError struct + func (e *ConflictError) Unwrap() error + type ConnectionError struct + BaseURL string + Err error + func (e *ConnectionError) Error() string + func (e *ConnectionError) Unwrap() error + type ConnectionFallbackDto struct + Kind ConnectionFallbackDtoKind + ServiceID string + TaxID string + type ConnectionFallbackDtoKind string + const ConnectionFallbackDtoKindTestEntity + type ConnectionKeyDto struct + CertificateFingerprint *string + InstalledAt *string + InstalledBy *InstalledByDto + Previous *PreviousKeyDto + State ConnectionKeyDtoState + type ConnectionKeyDtoState string + const ConnectionKeyDtoStateInstalled + const ConnectionKeyDtoStateNone + const ConnectionKeyDtoStatePlatform + type ConnectionNextActionDto struct + Actor ConnectionNextActionDtoActor + Code string + Message string + type ConnectionNextActionDtoActor string + const ConnectionNextActionDtoActorProvider + const ConnectionNextActionDtoActorTaxpayer + const ConnectionNextActionDtoActorTenant + type ConnectionPrerequisitesViewDto struct + JurisdictionSupported bool + TaxIDConnectable bool + TaxIDVerified bool + TaxpayerEnabled *bool + type ConnectionViewDto struct + AuthorityIdentifiers *AuthorityIdentifiersViewDto + AuthorityLastCheckedAt *string + AuthorityNextAction *AuthorityNextActionDto + AuthorityNextCheckAt *string + BusinessProfile map[string]any + ClaimedIdentifiers *ClaimedIdentifiersViewDto + ConnectedAt *string + DisconnectedAt *string + Fallback *ConnectionFallbackDto + History []TaxIdentityViewDto + IssuesAs ConnectionViewDtoIssuesAs + Jurisdiction *string + Key ConnectionKeyDto + Kind ConnectionViewDtoKind + LastCheckedAt *string + LegalNameMatches *bool + Mode ConnectionViewDtoMode + NextAction *ConnectionNextActionDto + Prerequisites ConnectionPrerequisitesViewDto + SharedWith *ConnectionViewDtoSharedWith + State ConnectionViewDtoState + SubmissionsAllowed bool + TaxID *string + TaxIDType string + type ConnectionViewDtoIssuesAs string + const ConnectionViewDtoIssuesAsOrganisation + const ConnectionViewDtoIssuesAsTestEntity + type ConnectionViewDtoKind string + const ConnectionViewDtoKindOrganization + type ConnectionViewDtoMode string + const ConnectionViewDtoModeLive + const ConnectionViewDtoModeSandbox + type ConnectionViewDtoSharedWith string + const ConnectionViewDtoSharedWithLive + const ConnectionViewDtoSharedWithSandbox + type ConnectionViewDtoState string + const ConnectionViewDtoStateConnected + const ConnectionViewDtoStateNotConnected + const ConnectionViewDtoStatePendingGrantApproval + const ConnectionViewDtoStatePendingKey + const ConnectionViewDtoStatePendingTaxpayerEnablement + const ConnectionViewDtoStateRevoked + const ConnectionViewDtoStateSuspended + type CostCodeUsageDto struct + CostCode string + Count int64 + Credits int64 + Label string + type CountryOptionDto struct + Code string + Name string + type CreateAndSubmitInvoiceBody = CreateInvoiceDto + type CreateAndSubmitInvoiceData = CreateAndSubmitResultDto + type CreateAndSubmitResultDto struct + Invoice InvoiceViewDto + Submission *SubmissionViewDto + SubmitRefusal *SubmitRefusalDto + type CreateBuyerBody = CreateBuyerDto + type CreateBuyerData = BuyerViewDto + type CreateBuyerDto struct + Address *BuyerAddressDto + BusinessDescription *string + Email *string + LegalName *string + Name string + PartyType *CreateBuyerDtoPartyType + Phone *string + Reference *string + TaxID *string + TaxIDType *CreateBuyerDtoTaxIDType + type CreateBuyerDtoPartyType string + const CreateBuyerDtoPartyTypeCompany + const CreateBuyerDtoPartyTypeGovernment + const CreateBuyerDtoPartyTypeIndividual + const CreateBuyerDtoPartyTypeNonProfit + const CreateBuyerDtoPartyTypePartnership + type CreateBuyerDtoTaxIDType string + const CreateBuyerDtoTaxIDTypeForeign + const CreateBuyerDtoTaxIDTypeNone + const CreateBuyerDtoTaxIDTypeRn + const CreateBuyerDtoTaxIDTypeTIN + type CreateInvoiceBody = CreateInvoiceDto + type CreateInvoiceData = InvoiceViewDto + type CreateInvoiceDto struct + AccountingCost *string + AllowanceAmount *Amount + BuyerID *string + BuyerReference *string + ChargeAmount *Amount + Currency string + DueDate *string + InvoiceDate string + InvoiceKind string + InvoiceNumber *string + InvoiceType *CreateInvoiceDtoInvoiceType + IssueTime *string + LineItems []InvoiceLineItemDto + Notes *string + PaymentTerms *string + PurchaseOrderReference *string + SellerID *string + type CreateInvoiceDtoInvoiceType string + const CreateInvoiceDtoInvoiceTypeStandard + type CreateInvoiceShareLinkBody = CreateShareLinkDto + type CreateInvoiceShareLinkData = ShareLinkViewDto + type CreateItemBody = CreateItemDto + type CreateItemData = ItemViewDto + type CreateItemDto struct + Currency string + Description *string + HSNCode *string + ItemType CreateItemDtoItemType + Name string + ProductCategory string + SKU *string + ServiceCode *string + TaxCategory string + UnitCode string + UnitPriceMinor string + type CreateItemDtoItemType string + const CreateItemDtoItemTypeGoods + const CreateItemDtoItemTypeService + type CreateShareLinkDto struct + ExpiresInSeconds *float64 + MaxViews *float64 + type CreditNoteIssuedDto struct + CreditNote InvoiceViewDto + Invoice InvoiceViewDto + type CreditNoteLineDto struct + LineNo float64 + Quantity Amount + type CreditNotePreviewAnswerDto struct + Preview CreditNotePreviewDto + type CreditNotePreviewDto struct + Closing bool + CreditedBeforeMinor int64 + Currency string + Lines []NotePreviewLineDto + Mode CreditNotePreviewDtoMode + NetReceivableAfterMinor int64 + NetReceivableBeforeMinor int64 + RefundOwedMinor int64 + Totals NotePreviewTotalsDto + type CreditNotePreviewDtoMode string + const CreditNotePreviewDtoModeAmount + const CreditNotePreviewDtoModeFull + const CreditNotePreviewDtoModeLines + type CurrencyAmountCountDto struct + AmountMinor int64 + Count int64 + Currency string + type CurrencyAmountDto struct + AmountMinor int64 + Currency string + type CurrencyBucketDto struct + Count float64 + Currency string + GrossPayableMinor float64 + InputVATMinor float64 + type CurrencyTotalDto struct + Count int64 + Currency string + PayableMinor int64 + type DebitNoteIssuedDto struct + DebitNote InvoiceViewDto + Invoice InvoiceViewDto + type DebitNotePreviewAnswerDto struct + Preview DebitNotePreviewDto + type DebitNotePreviewDto struct + Currency string + Lines []NotePreviewLineDto + NetReceivableAfterMinor int64 + NetReceivableBeforeMinor int64 + Totals NotePreviewTotalsDto + type DeleteBuyerData = BuyerDeleteResultDto + type DeleteInvoiceData = InvoiceDeletedDto + type DeleteItemData = ItemDeletedDto + type DownloadInvoiceData = DownloadLinkDto + type DownloadInvoiceQuery struct + Format *DownloadInvoiceQueryFormat + type DownloadInvoiceQueryFormat string + const DownloadInvoiceQueryFormatPDF + type DownloadLinkDto struct + DownloadURL string + ExpiresAt string + FileName string + FileSize float64 + type Error interface + type ErrorDetail struct + Field string + Message string + type ExcludedOperation struct + Method string + Path string + Reason string + type FinaliseInvoiceData = InvoiceViewDto + type GetActiveSubscriptionData = ActiveSubscriptionDto + type GetBillingAccountData = BillingAccountDto + type GetBillingAccountQuery struct + Mode *GetBillingAccountQueryMode + type GetBillingAccountQueryMode string + const GetBillingAccountQueryModeLive + const GetBillingAccountQueryModeSandbox + type GetBillingAccountStatsData = AccountStatsDto + type GetBillingAccountStatsQuery struct + Mode *GetBillingAccountStatsQueryMode + type GetBillingAccountStatsQueryMode string + const GetBillingAccountStatsQueryModeLive + const GetBillingAccountStatsQueryModeSandbox + type GetBillingSetupData = SetupDto + type GetBillingStatementData = StatementDto + type GetBillingStatementQuery struct + Mode *GetBillingStatementQueryMode + type GetBillingStatementQueryMode string + const GetBillingStatementQueryModeLive + const GetBillingStatementQueryModeSandbox + type GetBuyerData = BuyerViewDto + type GetBuyerSetupData = BuyerSetupDto + type GetBuyerVerificationStatusData = BuyerVerificationStatusDto + type GetInboundHistoryRunData = HistoryRunDto + type GetInboundInvoiceAnalyticsData = InboundAnalyticsDto + type GetInboundInvoiceAnalyticsQuery struct + AccessPoint *string + AmountMax *string + AmountMin *string + Currency *string + IssueDateFrom *string + IssueDateTo *string + PaymentStatus *GetInboundInvoiceAnalyticsQueryPaymentStatus + Q *string + ReceivedFrom *string + ReceivedTo *string + Seller *string + TaxID *string + Tier *GetInboundInvoiceAnalyticsQueryTier + TransmissionStatus *string + type GetInboundInvoiceAnalyticsQueryPaymentStatus string + const GetInboundInvoiceAnalyticsQueryPaymentStatusOverdue + const GetInboundInvoiceAnalyticsQueryPaymentStatusPaid + const GetInboundInvoiceAnalyticsQueryPaymentStatusPartial + const GetInboundInvoiceAnalyticsQueryPaymentStatusRejected + const GetInboundInvoiceAnalyticsQueryPaymentStatusUnpaid + type GetInboundInvoiceAnalyticsQueryTier string + const GetInboundInvoiceAnalyticsQueryTierForward + const GetInboundInvoiceAnalyticsQueryTierHistory + type GetInboundInvoiceData = InboundInvoiceDetailDto + type GetInvoiceAuthorityCopyData = AuthorityCopyDto + type GetInvoiceData = InvoiceViewDto + type GetInvoiceListSummaryData = InvoiceListSummaryDto + type GetInvoiceListSummaryQuery struct + AmountFromMinor *float64 + AmountToMinor *float64 + BuyerID *string + CreatedAtFrom *string + CreatedAtTo *string + CreatedBy *string + CreatedByType *GetInvoiceListSummaryQueryCreatedByType + Credited *GetInvoiceListSummaryQueryCredited + Currency *string + Delivery *GetInvoiceListSummaryQueryDelivery + DueDateFrom *string + DueDateTo *string + InvoiceDateFrom *string + InvoiceDateTo *string + InvoiceType *GetInvoiceListSummaryQueryInvoiceType + Overdue *GetInvoiceListSummaryQueryOverdue + PaymentStatus *GetInvoiceListSummaryQueryPaymentStatus + RefundOwed *GetInvoiceListSummaryQueryRefundOwed + Reporting *GetInvoiceListSummaryQueryReporting + Search *string + SellerID *string + SimpleStatus *GetInvoiceListSummaryQuerySimpleStatus + Status *GetInvoiceListSummaryQueryStatus + type GetInvoiceListSummaryQueryCreatedByType string + const GetInvoiceListSummaryQueryCreatedByTypeAPIKey + const GetInvoiceListSummaryQueryCreatedByTypeService + const GetInvoiceListSummaryQueryCreatedByTypeSystem + const GetInvoiceListSummaryQueryCreatedByTypeUser + type GetInvoiceListSummaryQueryCredited string + const GetInvoiceListSummaryQueryCreditedFalse + const GetInvoiceListSummaryQueryCreditedTrue + type GetInvoiceListSummaryQueryDelivery string + const GetInvoiceListSummaryQueryDeliveryDeliverToBuyer + const GetInvoiceListSummaryQueryDeliveryNRS + const GetInvoiceListSummaryQueryDeliveryNone + const GetInvoiceListSummaryQueryDeliverySentEmail + const GetInvoiceListSummaryQueryDeliverySharedLink + type GetInvoiceListSummaryQueryInvoiceType string + const GetInvoiceListSummaryQueryInvoiceTypeCreditNote + const GetInvoiceListSummaryQueryInvoiceTypeDebitNote + const GetInvoiceListSummaryQueryInvoiceTypeStandard + type GetInvoiceListSummaryQueryOverdue string + const GetInvoiceListSummaryQueryOverdueTrue + type GetInvoiceListSummaryQueryPaymentStatus string + const GetInvoiceListSummaryQueryPaymentStatusPaid + const GetInvoiceListSummaryQueryPaymentStatusPartiallyPaid + const GetInvoiceListSummaryQueryPaymentStatusPaymentFailed + const GetInvoiceListSummaryQueryPaymentStatusUnpaid + type GetInvoiceListSummaryQueryRefundOwed string + const GetInvoiceListSummaryQueryRefundOwedFalse + const GetInvoiceListSummaryQueryRefundOwedTrue + type GetInvoiceListSummaryQueryReporting string + const GetInvoiceListSummaryQueryReportingDraft + const GetInvoiceListSummaryQueryReportingInProgress + const GetInvoiceListSummaryQueryReportingNeedsAttention + const GetInvoiceListSummaryQueryReportingNotReported + const GetInvoiceListSummaryQueryReportingReported + type GetInvoiceListSummaryQuerySimpleStatus string + const GetInvoiceListSummaryQuerySimpleStatusCancelled + const GetInvoiceListSummaryQuerySimpleStatusDelivered + const GetInvoiceListSummaryQuerySimpleStatusDraft + const GetInvoiceListSummaryQuerySimpleStatusIssued + const GetInvoiceListSummaryQuerySimpleStatusPaid + const GetInvoiceListSummaryQuerySimpleStatusPartPaid + const GetInvoiceListSummaryQuerySimpleStatusReported + const GetInvoiceListSummaryQuerySimpleStatusTransmitted + type GetInvoiceListSummaryQueryStatus string + const GetInvoiceListSummaryQueryStatusAccepted + const GetInvoiceListSummaryQueryStatusCancellationPending + const GetInvoiceListSummaryQueryStatusCancelled + const GetInvoiceListSummaryQueryStatusDraft + const GetInvoiceListSummaryQueryStatusFailed + const GetInvoiceListSummaryQueryStatusFinalised + const GetInvoiceListSummaryQueryStatusQueued + const GetInvoiceListSummaryQueryStatusRejected + const GetInvoiceListSummaryQueryStatusSigned + const GetInvoiceListSummaryQueryStatusTransmitted + type GetInvoiceOverviewData = InvoiceOverviewDto + type GetInvoiceOverviewQuery struct + WindowDays *float64 + type GetInvoiceReferenceListData = CodeListDto + type GetInvoiceSettingsData = InvoiceSettingsViewDto + type GetInvoiceSetupData = InvoiceSetupDto + type GetInvoiceStatisticsData = InvoiceStatisticsDto + type GetInvoiceStatisticsQuery struct + From *string + To *string + type GetInvoiceStatusData = SubmissionStatusDto + type GetIssuedHistoryInvoiceData = InboundInvoiceDetailDto + type GetItemData = ItemViewDto + type GetLedgerEntryData = LedgerEntryDto + type GetOrganizationData = OrganizationProfileResponseDto + type GetOrganizationReadinessData = ReadinessResponseDto + type GetPaymentData = PaymentDetailDto + type GetSandboxUsageData = SandboxUsageDto + type GetSellerData = SellerViewDto + type GetSellerSetupData = SellerSetupDto + type GetSellerVerificationStatusData = SellerVerificationStatusDto + type GetSubscriptionData = SubscriptionDto + type GetTaxConnectionData = ConnectionViewDto + type GetUsageAnalyticsItem = UsageBucketDto + type GetUsageAnalyticsQuery struct + EndDate *string + Mode *GetUsageAnalyticsQueryMode + Period *GetUsageAnalyticsQueryPeriod + StartDate *string + type GetUsageAnalyticsQueryMode string + const GetUsageAnalyticsQueryModeLive + const GetUsageAnalyticsQueryModeSandbox + type GetUsageAnalyticsQueryPeriod string + const GetUsageAnalyticsQueryPeriodDaily + const GetUsageAnalyticsQueryPeriodMonthly + const GetUsageAnalyticsQueryPeriodWeekly + type GetUsageByCostCodeItem = CostCodeUsageDto + type GetUsageByCostCodeQuery struct + EndDate *string + Mode *GetUsageByCostCodeQueryMode + StartDate *string + type GetUsageByCostCodeQueryMode string + const GetUsageByCostCodeQueryModeLive + const GetUsageByCostCodeQueryModeSandbox + type GetWebhookDeliveryData = WebhookDeliveryDetailDto + type GetWebhookEndpointData = WebhookEndpointDto + type GetWebhookEventData = WebhookEventDto + type HeaderGetter interface + Get func(name string) string + type HistoryRunAddedDto struct + Issued float64 + Received float64 + Total float64 + type HistoryRunDto struct + Added HistoryRunAddedDto + Charged *bool + Error *string + FinishedAt *string + ID string + MoreAvailable *bool + Phase HistoryRunDtoPhase + Progress HistoryRunProgressDto + ReachedEnd bool + RequestedAt string + RequestedBy HistoryRunRequesterDto + StartedAt *string + Status HistoryRunDtoStatus + type HistoryRunDtoPhase string + const HistoryRunDtoPhaseDone + const HistoryRunDtoPhaseIssued + const HistoryRunDtoPhaseReceived + type HistoryRunDtoStatus string + const HistoryRunDtoStatusFailed + const HistoryRunDtoStatusQueued + const HistoryRunDtoStatusRunning + const HistoryRunDtoStatusSucceeded + type HistoryRunListDto struct + Active *HistoryRunDto + Items []HistoryRunDto + type HistoryRunProgressDto struct + InvoicesSeen float64 + PagesRead float64 + type HistoryRunRequesterDto struct + ID string + Type HistoryRunRequesterDtoType + type HistoryRunRequesterDtoType string + const HistoryRunRequesterDtoTypeAPIKey + const HistoryRunRequesterDtoTypeUser + type HsCodeDto struct + Category *string + Code string + Description string + type HttpClient struct + func NewHttpClient(apiKey string, opts ...Option) (*HttpClient, error) + func (c *HttpClient) BaseURL() string + func (c *HttpClient) Mode() Mode + func (c *HttpClient) Request(ctx context.Context, call Call) (*RawResponse, error) + type InboundAnalyticsDto struct + AccessPoints []AccessPointBucketDto + AverageDaysToPay *float64 + AverageDaysToPayBasis float64 + ByMonth []MonthBucketDto + PaymentStatus PaymentBreakdownDto + ReportingCurrency *string + Sync InboundSyncDto + Taxpayer InboundTaxpayerDto + TopSuppliers TopSuppliersDto + Totals AnalyticsTotalsDto + Truncated bool + type InboundInvoiceDetailDto struct + AccessPoint *string + AckStatus *string + AcknowledgedAt *string + ConfirmedAt *string + Currency *string + Customer map[string]any + CustomerName *string + CustomerNameSource *string + CustomerTIN *string + Document map[string]any + DocumentFetchedAt *string + DocumentRef *string + DueDate *string + GrantID *string + ID string + Irn string + IssueDate *string + PayableAmountMinor *float64 + PaymentStatus *InboundInvoiceDetailDtoPaymentStatus + RawPayload map[string]any + ReceivedAt *string + SellerInvoiceNumber *string + SellerIssueDate *string + SortAt *string + Source *string + Supplier map[string]any + SupplierName *string + SupplierNameSource *string + SupplierTIN *string + SyncedAt string + TaxAmountMinor *float64 + TaxpayerRole *string + TaxpayerTaxID *string + Tier InboundInvoiceDetailDtoTier + Totals map[string]any + TransmissionStatus *string + TransmittedBy TransmittedByDto + UpdatedAt *string + type InboundInvoiceDetailDtoPaymentStatus string + const InboundInvoiceDetailDtoPaymentStatusPaid + const InboundInvoiceDetailDtoPaymentStatusPartial + const InboundInvoiceDetailDtoPaymentStatusRejected + const InboundInvoiceDetailDtoPaymentStatusUnpaid + type InboundInvoiceDetailDtoTier string + const InboundInvoiceDetailDtoTierForward + const InboundInvoiceDetailDtoTierHistory + type InboundInvoiceViewDto struct + AccessPoint *string + AckStatus *string + AcknowledgedAt *string + Currency *string + Customer map[string]any + CustomerName *string + CustomerNameSource *string + CustomerTIN *string + DocumentRef *string + DueDate *string + GrantID *string + ID string + Irn string + IssueDate *string + PayableAmountMinor *float64 + PaymentStatus *InboundInvoiceViewDtoPaymentStatus + ReceivedAt *string + SellerInvoiceNumber *string + SellerIssueDate *string + SortAt *string + Source *string + Supplier map[string]any + SupplierName *string + SupplierNameSource *string + SupplierTIN *string + SyncedAt string + TaxAmountMinor *float64 + TaxpayerRole *string + TaxpayerTaxID *string + Tier InboundInvoiceViewDtoTier + Totals map[string]any + TransmissionStatus *string + TransmittedBy TransmittedByDto + UpdatedAt *string + type InboundInvoiceViewDtoPaymentStatus string + const InboundInvoiceViewDtoPaymentStatusPaid + const InboundInvoiceViewDtoPaymentStatusPartial + const InboundInvoiceViewDtoPaymentStatusRejected + const InboundInvoiceViewDtoPaymentStatusUnpaid + type InboundInvoiceViewDtoTier string + const InboundInvoiceViewDtoTierForward + const InboundInvoiceViewDtoTierHistory + type InboundInvoicesService struct + func (s *InboundInvoicesService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetInboundInvoiceData, error) + func (s *InboundInvoicesService) GetAnalytics(ctx context.Context, query *GetInboundInvoiceAnalyticsQuery, ...) (*GetInboundInvoiceAnalyticsData, error) + func (s *InboundInvoicesService) GetHistoryRun(ctx context.Context, runID string, opts ...RequestOption) (*GetInboundHistoryRunData, error) + func (s *InboundInvoicesService) List(ctx context.Context, query *ListInboundInvoicesQuery, opts ...RequestOption) (*Paginated[ListInboundInvoicesData], error) + func (s *InboundInvoicesService) ListHistoryRuns(ctx context.Context, query *ListInboundHistoryRunsQuery, opts ...RequestOption) (*Paginated[ListInboundHistoryRunsData], error) + func (s *InboundInvoicesService) LoadOlder(ctx context.Context, opts ...RequestOption) (*LoadOlderInboundInvoicesData, error) + type InboundLoadOlderDto struct + Added float64 + Fetched float64 + HasMore bool + HistoryExhausted *bool + Sync InboundSyncDto + type InboundPageDto struct + Items []InboundInvoiceViewDto + Sync InboundSyncDto + Taxpayer InboundTaxpayerDto + type InboundSyncDto struct + Error *string + HistoryExhausted *bool + LastSyncedAt *string + Since *string + Syncing bool + type InboundTaxpayerDto struct + ConnectionState *string + TaxID *string + TaxIds []string + type InstalledByDto struct + ID *string + Type string + type InsufficientCreditsError struct + func (e *InsufficientCreditsError) Unwrap() error + type InvoiceActorDto struct + ID *string + Type InvoiceActorDtoType + type InvoiceActorDtoType string + const InvoiceActorDtoTypeAPIKey + const InvoiceActorDtoTypeService + const InvoiceActorDtoTypeSystem + const InvoiceActorDtoTypeUser + type InvoiceAdjustmentDto struct + Closing bool + Counts bool + ID string + InvoiceID string + InvoiceNumber string + Irn *string + IssueDate string + Kind InvoiceAdjustmentDtoKind + Number string + PayableMinor int64 + RefundOwedMinor *int64 + RegisteredAt *string + Status InvoiceAdjustmentDtoStatus + type InvoiceAdjustmentDtoKind string + const InvoiceAdjustmentDtoKindCreditNote + const InvoiceAdjustmentDtoKindDebitNote + type InvoiceAdjustmentDtoStatus string + const InvoiceAdjustmentDtoStatusAccepted + const InvoiceAdjustmentDtoStatusCancellationPending + const InvoiceAdjustmentDtoStatusCancelled + const InvoiceAdjustmentDtoStatusDraft + const InvoiceAdjustmentDtoStatusFailed + const InvoiceAdjustmentDtoStatusFinalised + const InvoiceAdjustmentDtoStatusQueued + const InvoiceAdjustmentDtoStatusRejected + const InvoiceAdjustmentDtoStatusSigned + const InvoiceAdjustmentDtoStatusTransmitted + type InvoiceApiPaginationMetaDto struct + CurrentPage *string + HasNext bool + HasPrevious bool + NextPage *string + Page float64 + PageSize float64 + PreviousPage *string + Total float64 + TotalPages float64 + type InvoiceApiSuccessMetaDto struct + Errors []map[string]string + Message string + Pagination *InvoiceApiPaginationMetaDto + RequestID string + StatusCode float64 + Success bool + Timestamp string + type InvoiceBuyerDeliveryDto struct + Channel InvoiceBuyerDeliveryDtoChannel + Reason InvoiceBuyerDeliveryDtoReason + SentToBuyerAt *string + type InvoiceBuyerDeliveryDtoChannel string + const InvoiceBuyerDeliveryDtoChannelEmail + const InvoiceBuyerDeliveryDtoChannelNRS + const InvoiceBuyerDeliveryDtoChannelNone + type InvoiceBuyerDeliveryDtoReason string + const InvoiceBuyerDeliveryDtoReasonBuyerOffNetwork + const InvoiceBuyerDeliveryDtoReasonBuyerOnNetwork + const InvoiceBuyerDeliveryDtoReasonNoBuyer + const InvoiceBuyerDeliveryDtoReasonUnknown + type InvoiceBuyerSnapshotDto struct + Address *InvoicePostalAddressDto + Email *string + ID string + LegalName *string + Name string + NameSource InvoiceBuyerSnapshotDtoNameSource + PartyName string + PartyType *string + Phone *string + TINProblem *InvoiceBuyerSnapshotDtoTINProblem + TaxID *string + TaxIDStatus InvoiceBuyerSnapshotDtoTaxIDStatus + TaxIDType string + type InvoiceBuyerSnapshotDtoNameSource string + const InvoiceBuyerSnapshotDtoNameSourceEntered + const InvoiceBuyerSnapshotDtoNameSourceNRS + const InvoiceBuyerSnapshotDtoNameSourceTINCheck + type InvoiceBuyerSnapshotDtoTINProblem string + const InvoiceBuyerSnapshotDtoTINProblemFormat + const InvoiceBuyerSnapshotDtoTINProblemNotFound + type InvoiceBuyerSnapshotDtoTaxIDStatus string + const InvoiceBuyerSnapshotDtoTaxIDStatusChecking + const InvoiceBuyerSnapshotDtoTaxIDStatusNameMismatch + const InvoiceBuyerSnapshotDtoTaxIDStatusNotFound + const InvoiceBuyerSnapshotDtoTaxIDStatusPending + const InvoiceBuyerSnapshotDtoTaxIDStatusUnavailable + const InvoiceBuyerSnapshotDtoTaxIDStatusUnverified + const InvoiceBuyerSnapshotDtoTaxIDStatusValidOffNetwork + const InvoiceBuyerSnapshotDtoTaxIDStatusVerified + type InvoiceBuyerVerificationDto struct + TaxIDStatus InvoiceBuyerVerificationDtoTaxIDStatus + TaxIDVerifiedAt *string + TaxIDVerifiedName *string + TaxIDVerifiedSource *InvoiceBuyerVerificationDtoTaxIDVerifiedSource + type InvoiceBuyerVerificationDtoTaxIDStatus string + const InvoiceBuyerVerificationDtoTaxIDStatusChecking + const InvoiceBuyerVerificationDtoTaxIDStatusNameMismatch + const InvoiceBuyerVerificationDtoTaxIDStatusNotFound + const InvoiceBuyerVerificationDtoTaxIDStatusPending + const InvoiceBuyerVerificationDtoTaxIDStatusUnavailable + const InvoiceBuyerVerificationDtoTaxIDStatusUnverified + const InvoiceBuyerVerificationDtoTaxIDStatusValidOffNetwork + const InvoiceBuyerVerificationDtoTaxIDStatusVerified + type InvoiceBuyerVerificationDtoTaxIDVerifiedSource string + const InvoiceBuyerVerificationDtoTaxIDVerifiedSourceNRS + const InvoiceBuyerVerificationDtoTaxIDVerifiedSourceTINCheck + type InvoiceCreditSettlementDto struct + PaidOnOriginalMinor *int64 + RefundOutstandingMinor int64 + RefundOwedMinor int64 + RefundedMinor int64 + State InvoiceCreditSettlementDtoState + StillOwedMinor *int64 + type InvoiceCreditSettlementDtoState string + const InvoiceCreditSettlementDtoStatePartlyRefunded + const InvoiceCreditSettlementDtoStateRefundOwed + const InvoiceCreditSettlementDtoStateRefunded + const InvoiceCreditSettlementDtoStateSettled + type InvoiceDeletedDto struct + Deleted bool + ID string + InvoiceNumber string + type InvoiceDocumentLinkDto struct + ID string + InvoiceID string + InvoiceNumber string + Irn *string + Number string + RegisteredAt *string + type InvoiceIssuedAsDto struct + Kind InvoiceIssuedAsDtoKind + ServiceID *string + TaxID string + type InvoiceIssuedAsDtoKind string + const InvoiceIssuedAsDtoKindOrganisation + const InvoiceIssuedAsDtoKindTestEntity + type InvoiceLineItemDto struct + Description *string + DiscountAmount *Amount + FeeAmount *Amount + HSNCode *string + ISICCode *string + ItemID *string + ItemName *string + ProductCategory *string + Quantity Amount + ServiceCategory *string + TaxCategory *string + UnitCode *string + UnitPrice *Amount + type InvoiceLineViewDto struct + CreditedQuantity *string + CreditsLineNo *int64 + Description string + DiscountMinor int64 + FeeMinor int64 + HSNCode *string + ItemID *string + ItemName *string + LineNetMinor int64 + LineNo int64 + LineTaxMinor int64 + LineTotalMinor int64 + ProductCategory *string + Quantity string + ServiceCode *string + TaxCategory string + TaxRate string + UnitCode string + UnitPrice string + type InvoiceListSummaryDto struct + Drafts int64 + InProgress int64 + Issued int64 + NeedsAttention int64 + NotReported int64 + Outstanding []CurrencyAmountCountDto + Overdue []CurrencyAmountCountDto + Reported int64 + Total int64 + type InvoiceOverviewDto struct + Alerts OverviewAlertsDto + Collections OverviewCollectionsDto + Kpis OverviewKpisDto + OutputTax []OutputTaxTotalDto + PaymentStatus OverviewPaymentStatusDto + Readiness OverviewReadinessDto + RecentInvoices []InvoiceViewDto + StatusDistribution InvoiceStatusCountsDto + Trend []OverviewTrendPointDto + Window OverviewWindowDto + type InvoicePaymentEntryDto struct + AmountPaidMinor *int64 + AuthorityMessage *string + AuthorityStatus *InvoicePaymentEntryDtoAuthorityStatus + CreatedAt string + InstallmentMinor *int64 + Reference *string + SentAt *string + Seq int64 + State InvoicePaymentEntryDtoState + Status InvoicePaymentEntryDtoStatus + type InvoicePaymentEntryDtoAuthorityStatus string + const InvoicePaymentEntryDtoAuthorityStatusPaid + const InvoicePaymentEntryDtoAuthorityStatusPartiallyPaid + const InvoicePaymentEntryDtoAuthorityStatusPaymentFailed + const InvoicePaymentEntryDtoAuthorityStatusUnpaid + type InvoicePaymentEntryDtoState string + const InvoicePaymentEntryDtoStateLocal + const InvoicePaymentEntryDtoStatePending + const InvoicePaymentEntryDtoStateRefused + const InvoicePaymentEntryDtoStateSent + const InvoicePaymentEntryDtoStateSuperseded + type InvoicePaymentEntryDtoStatus string + const InvoicePaymentEntryDtoStatusPaid + const InvoicePaymentEntryDtoStatusPartiallyPaid + const InvoicePaymentEntryDtoStatusPaymentFailed + const InvoicePaymentEntryDtoStatusUnpaid + type InvoicePaymentStatusCountsDto struct + Paid int64 + PartiallyPaid int64 + PaymentFailed int64 + Unpaid int64 + type InvoicePostalAddressDto struct + City string + Country string + Lga *string + Line1 string + Line2 *string + PostalCode *string + State *string + type InvoiceReportingDto struct + DeliveredAt *string + Delivery InvoiceReportingDtoDelivery + Irn *string + NextAction *InvoiceReportingDtoNextAction + NextActionMessage *string + Reason *InvoiceReportingDtoReason + State InvoiceReportingDtoState + type InvoiceReportingDtoDelivery string + const InvoiceReportingDtoDeliveryDeliverToBuyer + const InvoiceReportingDtoDeliveryNRS + const InvoiceReportingDtoDeliveryNone + const InvoiceReportingDtoDeliverySentEmail + const InvoiceReportingDtoDeliverySharedLink + type InvoiceReportingDtoNextAction string + const InvoiceReportingDtoNextActionRenumber + const InvoiceReportingDtoNextActionRetry + type InvoiceReportingDtoReason string + const InvoiceReportingDtoReasonB2C + const InvoiceReportingDtoReasonB2CInvalidTIN + const InvoiceReportingDtoReasonBuyerOffNetwork + const InvoiceReportingDtoReasonPermissionWithdrawn + type InvoiceReportingDtoState string + const InvoiceReportingDtoStateInProgress + const InvoiceReportingDtoStateNotSubmitted + const InvoiceReportingDtoStateOnHold + const InvoiceReportingDtoStateRejected + const InvoiceReportingDtoStateReported + type InvoiceSellerSnapshotDto struct + Address *InvoicePostalAddressDto + Country *string + Email *string + ID string + Kind InvoiceSellerSnapshotDtoKind + LegalName *string + Name string + NameSource InvoiceSellerSnapshotDtoNameSource + PartyName string + Phone *string + TaxID *string + TaxIDStatus InvoiceSellerSnapshotDtoTaxIDStatus + TaxIDType string + type InvoiceSellerSnapshotDtoKind string + const InvoiceSellerSnapshotDtoKindOrganization + type InvoiceSellerSnapshotDtoNameSource string + const InvoiceSellerSnapshotDtoNameSourceEntered + const InvoiceSellerSnapshotDtoNameSourceNRS + const InvoiceSellerSnapshotDtoNameSourceTINCheck + type InvoiceSellerSnapshotDtoTaxIDStatus string + const InvoiceSellerSnapshotDtoTaxIDStatusChecking + const InvoiceSellerSnapshotDtoTaxIDStatusNameMismatch + const InvoiceSellerSnapshotDtoTaxIDStatusNotFound + const InvoiceSellerSnapshotDtoTaxIDStatusPending + const InvoiceSellerSnapshotDtoTaxIDStatusUnavailable + const InvoiceSellerSnapshotDtoTaxIDStatusUnverified + const InvoiceSellerSnapshotDtoTaxIDStatusValidOffNetwork + const InvoiceSellerSnapshotDtoTaxIDStatusVerified + type InvoiceSettingsService struct + func (s *InvoiceSettingsService) Get(ctx context.Context, opts ...RequestOption) (*GetInvoiceSettingsData, error) + type InvoiceSettingsViewDto struct + ReportAutomatically bool + UpdatedAt *string + Version int64 + type InvoiceSetupDto struct + Currencies []string + DefaultCurrency *string + InvoiceKinds []string + Jurisdiction *string + NextInvoiceNumber string + TaxCategories []InvoiceTaxCategoryOptionDto + TaxConnection InvoiceSetupTaxConnectionDto + UnitCodes []InvoiceUnitCodeOptionDto + type InvoiceSetupTaxConnectionDto struct + State InvoiceSetupTaxConnectionDtoState + type InvoiceSetupTaxConnectionDtoState string + const InvoiceSetupTaxConnectionDtoStateConnected + const InvoiceSetupTaxConnectionDtoStateNotConnected + const InvoiceSetupTaxConnectionDtoStatePendingGrantApproval + const InvoiceSetupTaxConnectionDtoStatePendingKey + const InvoiceSetupTaxConnectionDtoStatePendingTaxpayerEnablement + const InvoiceSetupTaxConnectionDtoStateRevoked + const InvoiceSetupTaxConnectionDtoStateSuspended + type InvoiceStatisticsDto struct + ByPaymentStatus InvoicePaymentStatusCountsDto + ByStatus InvoiceStatusCountsDto + CreditNotes int64 + OutputTax []OutputTaxTotalDto + Registered int64 + Submitted int64 + SuccessRate float64 + Total int64 + TotalsByCurrency []CurrencyTotalDto + Window StatisticsWindowDto + type InvoiceStatusCountsDto struct + Accepted int64 + CancellationPending int64 + Cancelled int64 + Draft int64 + Failed int64 + Finalised int64 + Queued int64 + Rejected int64 + Signed int64 + Transmitted int64 + type InvoiceTaxCategoryOptionDto struct + ID string + Label string + Rate string + type InvoiceTaxSubtotalDto struct + TaxCategory string + TaxMinor int64 + TaxRate string + TaxableMinor int64 + type InvoiceTotalsDto struct + AllowanceMinor int64 + ChargeMinor int64 + DiscountMinor int64 + FeeMinor int64 + LineExtensionMinor int64 + PayableMinor int64 + TaxExclusiveMinor int64 + TaxInclusiveMinor int64 + TaxMinor int64 + type InvoiceUnitCodeOptionDto struct + Code string + Label string + type InvoiceVerificationDto struct + Artefact InvoiceVerificationDtoArtefact + Payload string + type InvoiceVerificationDtoArtefact string + const InvoiceVerificationDtoArtefactQR + type InvoiceViewDto struct + AccountingCost *string + Adjustments []InvoiceAdjustmentDto + AmountPaidMinor int64 + AuthorityInvoiceNumber *string + AuthorityReference *string + AuthorityState *InvoiceViewDtoAuthorityState + Buyer *InvoiceBuyerSnapshotDto + BuyerDelivery InvoiceBuyerDeliveryDto + BuyerReference *string + BuyerVerification *InvoiceBuyerVerificationDto + CancelledAt *string + CancelledByCreditNote *InvoiceDocumentLinkDto + CreatedAt string + CreatedBy InvoiceActorDto + CreditNoteOf *InvoiceDocumentLinkDto + CreditNoteSettlement *InvoiceCreditSettlementDto + CreditStatus *InvoiceViewDtoCreditStatus + CreditedMinor *int64 + Credits *InvoiceDocumentLinkDto + Currency string + DebitedMinor *int64 + Debits *InvoiceDocumentLinkDto + DeliveryStatus string + DisplayNumber string + DueDate *string + FinalisedAt *string + ID string + InvoiceKind string + InvoiceNumber string + InvoiceType InvoiceViewDtoInvoiceType + IssueDate string + IssueTime *string + IssuedAs *InvoiceIssuedAsDto + Jurisdiction string + LineItems []InvoiceLineViewDto + NetReceivableMinor *int64 + Notes *string + ParkReason *string + PaymentCeilingMinor int64 + PaymentStatus InvoiceViewDtoPaymentStatus + PaymentTerms *string + Payments []InvoicePaymentEntryDto + PurchaseOrderReference *string + RefundOwed bool + RefundOwedMinor *int64 + ReportedToNRS bool + Reporting InvoiceReportingDto + Seller *InvoiceSellerSnapshotDto + SentToBuyerAt *string + SimpleStatus InvoiceViewDtoSimpleStatus + Status InvoiceViewDtoStatus + SubmissionDueAt *string + SubmittedBy *InvoiceActorDto + TaxCurrency string + TaxSubtotals []InvoiceTaxSubtotalDto + Totals InvoiceTotalsDto + UpdatedAt string + Verification *InvoiceVerificationDto + Version int64 + type InvoiceViewDtoAuthorityState string + const InvoiceViewDtoAuthorityStateDelivered + const InvoiceViewDtoAuthorityStateHandedOff + const InvoiceViewDtoAuthorityStateParked + const InvoiceViewDtoAuthorityStateQueued + const InvoiceViewDtoAuthorityStateRegistered + const InvoiceViewDtoAuthorityStateRejected + const InvoiceViewDtoAuthorityStateTransmitted + const InvoiceViewDtoAuthorityStateWithdrawn + type InvoiceViewDtoCreditStatus string + const InvoiceViewDtoCreditStatusCredited + const InvoiceViewDtoCreditStatusNone + const InvoiceViewDtoCreditStatusPartlyCredited + type InvoiceViewDtoInvoiceType string + const InvoiceViewDtoInvoiceTypeCreditNote + const InvoiceViewDtoInvoiceTypeDebitNote + const InvoiceViewDtoInvoiceTypeStandard + type InvoiceViewDtoPaymentStatus string + const InvoiceViewDtoPaymentStatusPaid + const InvoiceViewDtoPaymentStatusPartiallyPaid + const InvoiceViewDtoPaymentStatusPaymentFailed + const InvoiceViewDtoPaymentStatusUnpaid + type InvoiceViewDtoSimpleStatus string + const InvoiceViewDtoSimpleStatusCancelled + const InvoiceViewDtoSimpleStatusDelivered + const InvoiceViewDtoSimpleStatusDraft + const InvoiceViewDtoSimpleStatusIssued + const InvoiceViewDtoSimpleStatusPaid + const InvoiceViewDtoSimpleStatusPartPaid + const InvoiceViewDtoSimpleStatusReported + const InvoiceViewDtoSimpleStatusTransmitted + type InvoiceViewDtoStatus string + const InvoiceViewDtoStatusAccepted + const InvoiceViewDtoStatusCancellationPending + const InvoiceViewDtoStatusCancelled + const InvoiceViewDtoStatusDraft + const InvoiceViewDtoStatusFailed + const InvoiceViewDtoStatusFinalised + const InvoiceViewDtoStatusQueued + const InvoiceViewDtoStatusRejected + const InvoiceViewDtoStatusSigned + const InvoiceViewDtoStatusTransmitted + type InvoicesService struct + func (s *InvoicesService) Cancel(ctx context.Context, id string, params *CancelInvoiceBody, ...) (*CancelInvoiceData, error) + func (s *InvoicesService) Create(ctx context.Context, params *CreateInvoiceBody, opts ...RequestOption) (*CreateInvoiceData, error) + func (s *InvoicesService) Delete(ctx context.Context, id string, opts ...RequestOption) (*DeleteInvoiceData, error) + func (s *InvoicesService) Finalise(ctx context.Context, id string, opts ...RequestOption) (*FinaliseInvoiceData, error) + func (s *InvoicesService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetInvoiceData, error) + func (s *InvoicesService) GetOverview(ctx context.Context, query *GetInvoiceOverviewQuery, opts ...RequestOption) (*GetInvoiceOverviewData, error) + func (s *InvoicesService) GetStatistics(ctx context.Context, query *GetInvoiceStatisticsQuery, opts ...RequestOption) (*GetInvoiceStatisticsData, error) + func (s *InvoicesService) GetSummary(ctx context.Context, query *GetInvoiceListSummaryQuery, opts ...RequestOption) (*GetInvoiceListSummaryData, error) + func (s *InvoicesService) IssueCreditNote(ctx context.Context, id string, params *IssueCreditNoteBody, ...) (*IssueCreditNoteData, error) + func (s *InvoicesService) IssueDebitNote(ctx context.Context, id string, params *IssueDebitNoteBody, ...) (*IssueDebitNoteData, error) + func (s *InvoicesService) List(ctx context.Context, query *ListInvoicesQuery, opts ...RequestOption) (*Page[ListInvoicesItem], error) + func (s *InvoicesService) Reopen(ctx context.Context, id string, opts ...RequestOption) (*ReopenInvoiceData, error) + func (s *InvoicesService) Revise(ctx context.Context, id string, opts ...RequestOption) (*ReviseInvoiceData, error) + func (s *InvoicesService) Update(ctx context.Context, id string, params *UpdateInvoiceBody, ...) (*UpdateInvoiceData, error) + type IssueAnswerDto struct + Invoice InvoiceViewDto + NotReportedReason *IssueAnswerDtoNotReportedReason + Replayed bool + Reporting IssueAnswerDtoReporting + SentToBuyer bool + Submission *SubmissionViewDto + type IssueAnswerDtoNotReportedReason string + const IssueAnswerDtoNotReportedReasonAutoReportOff + const IssueAnswerDtoNotReportedReasonNotConnected + type IssueAnswerDtoReporting string + const IssueAnswerDtoReportingNotReported + const IssueAnswerDtoReportingQueued + type IssueCreditNoteBody = IssueCreditNoteDto + type IssueCreditNoteData struct + func (d IssueCreditNoteData) AsCreditNoteIssuedDto() (*CreditNoteIssuedDto, error) + func (d IssueCreditNoteData) AsCreditNotePreviewAnswerDto() (*CreditNotePreviewAnswerDto, error) + type IssueCreditNoteDto struct + AmountMinor *float64 + LineNo *float64 + Lines []CreditNoteLineDto + Mode IssueCreditNoteDtoMode + Preview *bool + Reason string + type IssueCreditNoteDtoMode string + const IssueCreditNoteDtoModeAmount + const IssueCreditNoteDtoModeFull + const IssueCreditNoteDtoModeLines + type IssueDebitNoteBody = IssueDebitNoteDto + type IssueDebitNoteData struct + func (d IssueDebitNoteData) AsDebitNoteIssuedDto() (*DebitNoteIssuedDto, error) + func (d IssueDebitNoteData) AsDebitNotePreviewAnswerDto() (*DebitNotePreviewAnswerDto, error) + type IssueDebitNoteDto struct + LineItems []InvoiceLineItemDto + Preview *bool + Reason *string + type IssueInvoiceData = IssueAnswerDto + type IssuedHistoryService struct + func (s *IssuedHistoryService) DownloadPDF(ctx context.Context, id string, opts ...RequestOption) (*BinaryResponse, error) + func (s *IssuedHistoryService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetIssuedHistoryInvoiceData, error) + func (s *IssuedHistoryService) List(ctx context.Context, query *ListIssuedHistoryQuery, opts ...RequestOption) (*Paginated[ListIssuedHistoryData], error) + type ItemDeletedDto struct + Deleted bool + ID string + type ItemViewDto struct + ArchivedAt *string + CreatedAt string + Currency string + Description *string + HSNCode *string + ID string + ItemType ItemViewDtoItemType + LastUsedAt *string + Name string + ProductCategory string + Referenced bool + SKU *string + ServiceCode *string + TaxCategory string + UnitCode string + UnitPriceMinor string + UpdatedAt string + UseCount float64 + type ItemViewDtoItemType string + const ItemViewDtoItemTypeGoods + const ItemViewDtoItemTypeService + type ItemsService struct + func (s *ItemsService) Archive(ctx context.Context, id string, opts ...RequestOption) (*ArchiveItemData, error) + func (s *ItemsService) Create(ctx context.Context, params *CreateItemBody, opts ...RequestOption) (*CreateItemData, error) + func (s *ItemsService) Delete(ctx context.Context, id string, opts ...RequestOption) (*DeleteItemData, error) + func (s *ItemsService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetItemData, error) + func (s *ItemsService) List(ctx context.Context, query *ListItemsQuery, opts ...RequestOption) (*Page[ListItemsItem], error) + func (s *ItemsService) ListUsedCodes(ctx context.Context, query *ListUsedItemCodesQuery, opts ...RequestOption) ([]ListUsedItemCodesItem, error) + func (s *ItemsService) Unarchive(ctx context.Context, id string, opts ...RequestOption) (*UnarchiveItemData, error) + func (s *ItemsService) Update(ctx context.Context, id string, params *UpdateItemBody, opts ...RequestOption) (*UpdateItemData, error) + type LedgerBalanceDto struct + Available int64 + BySource *BalanceBySourceDto + Held int64 + NextExpiry *NextExpiryDto + Transferable *int64 + type LedgerBalancesDto struct + Live *LedgerBalanceDto + Sandbox *LedgerBalanceDto + type LedgerEntryDto struct + BalanceAfter int64 + CostCode *string + CounterpartyOrganizationID *string + CreatedAt string + Credits int64 + Description *string + Hold *LedgerEntryHoldDto + HoldState *LedgerEntryDtoHoldState + ID string + Kind LedgerEntryDtoKind + Mode LedgerEntryDtoMode + PaymentID *string + Quantity *int64 + Reference string + type LedgerEntryDtoHoldState string + const LedgerEntryDtoHoldStateCaptured + const LedgerEntryDtoHoldStateExpired + const LedgerEntryDtoHoldStateHeld + const LedgerEntryDtoHoldStateReleased + type LedgerEntryDtoKind string + const LedgerEntryDtoKindAdjustmentDebit + const LedgerEntryDtoKindCharge + const LedgerEntryDtoKindClawback + const LedgerEntryDtoKindDebtSettlement + const LedgerEntryDtoKindExpiry + const LedgerEntryDtoKindGrantAdjustment + const LedgerEntryDtoKindGrantAllowance + const LedgerEntryDtoKindGrantPlan + const LedgerEntryDtoKindGrantPurchase + const LedgerEntryDtoKindHold + const LedgerEntryDtoKindHoldRelease + const LedgerEntryDtoKindPoolIn + const LedgerEntryDtoKindPoolOut + const LedgerEntryDtoKindPoolReturnIn + const LedgerEntryDtoKindPoolReturnOut + const LedgerEntryDtoKindRefund + const LedgerEntryDtoKindTransferIn + const LedgerEntryDtoKindTransferOut + type LedgerEntryDtoMode string + const LedgerEntryDtoModeLive + const LedgerEntryDtoModeSandbox + type LedgerEntryHoldDto struct + Credits int64 + HeldAt string + SettledAt *string + State LedgerEntryHoldDtoState + type LedgerEntryHoldDtoState string + const LedgerEntryHoldDtoStateCaptured + const LedgerEntryHoldDtoStateExpired + const LedgerEntryHoldDtoStateHeld + const LedgerEntryHoldDtoStateReleased + type ListBuyersItem = BuyerViewDto + type ListBuyersQuery struct + Limit *float64 + Page *float64 + Search *string + TaxIDStatus *ListBuyersQueryTaxIDStatus + type ListBuyersQueryTaxIDStatus string + const ListBuyersQueryTaxIDStatusChecking + const ListBuyersQueryTaxIDStatusNameMismatch + const ListBuyersQueryTaxIDStatusNotFound + const ListBuyersQueryTaxIDStatusPending + const ListBuyersQueryTaxIDStatusUnavailable + const ListBuyersQueryTaxIDStatusUnverified + const ListBuyersQueryTaxIDStatusValidOffNetwork + const ListBuyersQueryTaxIDStatusVerified + type ListHsCodeCategoriesItem = string + type ListHsCodesItem = HsCodeDto + type ListHsCodesQuery struct + Category *string + Limit *float64 + Page *float64 + Search *string + type ListInboundHistoryRunsData = HistoryRunListDto + type ListInboundHistoryRunsQuery struct + Limit *float64 + Page *float64 + type ListInboundInvoicesData = InboundPageDto + type ListInboundInvoicesQuery struct + AccessPoint *string + AmountMax *string + AmountMin *string + Currency *string + IssueDateFrom *string + IssueDateTo *string + Limit *float64 + Page *float64 + PaymentStatus *ListInboundInvoicesQueryPaymentStatus + Q *string + ReceivedFrom *string + ReceivedTo *string + Seller *string + Sort *ListInboundInvoicesQuerySort + TaxID *string + Tier *ListInboundInvoicesQueryTier + TransmissionStatus *string + type ListInboundInvoicesQueryPaymentStatus string + const ListInboundInvoicesQueryPaymentStatusOverdue + const ListInboundInvoicesQueryPaymentStatusPaid + const ListInboundInvoicesQueryPaymentStatusPartial + const ListInboundInvoicesQueryPaymentStatusRejected + const ListInboundInvoicesQueryPaymentStatusUnpaid + type ListInboundInvoicesQuerySort string + const ListInboundInvoicesQuerySortAmount + const ListInboundInvoicesQuerySortDescAmount + const ListInboundInvoicesQuerySortDescIssueDate + const ListInboundInvoicesQuerySortDescReceivedAt + const ListInboundInvoicesQuerySortIssueDate + const ListInboundInvoicesQuerySortReceivedAt + type ListInboundInvoicesQueryTier string + const ListInboundInvoicesQueryTierForward + const ListInboundInvoicesQueryTierHistory + type ListInvoiceReferenceListsData = CodeListIndexDto + type ListInvoiceShareLinksItem = ShareLinkViewDto + type ListInvoicesItem = InvoiceViewDto + type ListInvoicesQuery struct + AmountFromMinor *float64 + AmountToMinor *float64 + BuyerID *string + CreatedAtFrom *string + CreatedAtTo *string + CreatedBy *string + CreatedByType *ListInvoicesQueryCreatedByType + Credited *ListInvoicesQueryCredited + Currency *string + Delivery *ListInvoicesQueryDelivery + DueDateFrom *string + DueDateTo *string + InvoiceDateFrom *string + InvoiceDateTo *string + InvoiceType *ListInvoicesQueryInvoiceType + Limit *float64 + Overdue *ListInvoicesQueryOverdue + Page *float64 + PaymentStatus *ListInvoicesQueryPaymentStatus + RefundOwed *ListInvoicesQueryRefundOwed + Reporting *ListInvoicesQueryReporting + Search *string + SellerID *string + SimpleStatus *ListInvoicesQuerySimpleStatus + SortBy *ListInvoicesQuerySortBy + SortOrder *ListInvoicesQuerySortOrder + Status *ListInvoicesQueryStatus + type ListInvoicesQueryCreatedByType string + const ListInvoicesQueryCreatedByTypeAPIKey + const ListInvoicesQueryCreatedByTypeService + const ListInvoicesQueryCreatedByTypeSystem + const ListInvoicesQueryCreatedByTypeUser + type ListInvoicesQueryCredited string + const ListInvoicesQueryCreditedFalse + const ListInvoicesQueryCreditedTrue + type ListInvoicesQueryDelivery string + const ListInvoicesQueryDeliveryDeliverToBuyer + const ListInvoicesQueryDeliveryNRS + const ListInvoicesQueryDeliveryNone + const ListInvoicesQueryDeliverySentEmail + const ListInvoicesQueryDeliverySharedLink + type ListInvoicesQueryInvoiceType string + const ListInvoicesQueryInvoiceTypeCreditNote + const ListInvoicesQueryInvoiceTypeDebitNote + const ListInvoicesQueryInvoiceTypeStandard + type ListInvoicesQueryOverdue string + const ListInvoicesQueryOverdueTrue + type ListInvoicesQueryPaymentStatus string + const ListInvoicesQueryPaymentStatusPaid + const ListInvoicesQueryPaymentStatusPartiallyPaid + const ListInvoicesQueryPaymentStatusPaymentFailed + const ListInvoicesQueryPaymentStatusUnpaid + type ListInvoicesQueryRefundOwed string + const ListInvoicesQueryRefundOwedFalse + const ListInvoicesQueryRefundOwedTrue + type ListInvoicesQueryReporting string + const ListInvoicesQueryReportingDraft + const ListInvoicesQueryReportingInProgress + const ListInvoicesQueryReportingNeedsAttention + const ListInvoicesQueryReportingNotReported + const ListInvoicesQueryReportingReported + type ListInvoicesQuerySimpleStatus string + const ListInvoicesQuerySimpleStatusCancelled + const ListInvoicesQuerySimpleStatusDelivered + const ListInvoicesQuerySimpleStatusDraft + const ListInvoicesQuerySimpleStatusIssued + const ListInvoicesQuerySimpleStatusPaid + const ListInvoicesQuerySimpleStatusPartPaid + const ListInvoicesQuerySimpleStatusReported + const ListInvoicesQuerySimpleStatusTransmitted + type ListInvoicesQuerySortBy string + const ListInvoicesQuerySortByCreatedAt + const ListInvoicesQuerySortByDueDate + const ListInvoicesQuerySortByInvoiceDate + const ListInvoicesQuerySortByInvoiceNumber + const ListInvoicesQuerySortByPayableMinor + const ListInvoicesQuerySortByTaxMinor + type ListInvoicesQuerySortOrder string + const ListInvoicesQuerySortOrderASC + const ListInvoicesQuerySortOrderDesc + type ListInvoicesQueryStatus string + const ListInvoicesQueryStatusAccepted + const ListInvoicesQueryStatusCancellationPending + const ListInvoicesQueryStatusCancelled + const ListInvoicesQueryStatusDraft + const ListInvoicesQueryStatusFailed + const ListInvoicesQueryStatusFinalised + const ListInvoicesQueryStatusQueued + const ListInvoicesQueryStatusRejected + const ListInvoicesQueryStatusSigned + const ListInvoicesQueryStatusTransmitted + type ListIssuedHistoryData = InboundPageDto + type ListIssuedHistoryQuery struct + AccessPoint *string + AmountMax *string + AmountMin *string + Currency *string + IssueDateFrom *string + IssueDateTo *string + Limit *float64 + Page *float64 + PaymentStatus *ListIssuedHistoryQueryPaymentStatus + Q *string + ReceivedFrom *string + ReceivedTo *string + Seller *string + Sort *ListIssuedHistoryQuerySort + TaxID *string + TransmissionStatus *string + type ListIssuedHistoryQueryPaymentStatus string + const ListIssuedHistoryQueryPaymentStatusOverdue + const ListIssuedHistoryQueryPaymentStatusPaid + const ListIssuedHistoryQueryPaymentStatusPartial + const ListIssuedHistoryQueryPaymentStatusRejected + const ListIssuedHistoryQueryPaymentStatusUnpaid + type ListIssuedHistoryQuerySort string + const ListIssuedHistoryQuerySortAmount + const ListIssuedHistoryQuerySortDescAmount + const ListIssuedHistoryQuerySortDescIssueDate + const ListIssuedHistoryQuerySortDescReceivedAt + const ListIssuedHistoryQuerySortIssueDate + const ListIssuedHistoryQuerySortReceivedAt + type ListItemsItem = ItemViewDto + type ListItemsQuery struct + Archived *ListItemsQueryArchived + ItemType *ListItemsQueryItemType + Limit *float64 + Page *float64 + Q *string + Sort *ListItemsQuerySort + type ListItemsQueryArchived string + const ListItemsQueryArchivedAll + const ListItemsQueryArchivedFalse + const ListItemsQueryArchivedTrue + type ListItemsQueryItemType string + const ListItemsQueryItemTypeGoods + const ListItemsQueryItemTypeService + type ListItemsQuerySort string + const ListItemsQuerySortDescLastUsedAt + const ListItemsQuerySortDescUseCount + const ListItemsQuerySortName + type ListLedgerEntriesItem = LedgerEntryDto + type ListLedgerEntriesQuery struct + CostCode *string + EndDate *string + Group *ListLedgerEntriesQueryGroup + Holds *ListLedgerEntriesQueryHolds + Limit *float64 + Mode *ListLedgerEntriesQueryMode + Page *float64 + Reference *string + StartDate *string + Type *ListLedgerEntriesQueryType + type ListLedgerEntriesQueryGroup string + const ListLedgerEntriesQueryGroupAdjustment + const ListLedgerEntriesQueryGroupAllowance + const ListLedgerEntriesQueryGroupExpiry + const ListLedgerEntriesQueryGroupPlan + const ListLedgerEntriesQueryGroupPool + const ListLedgerEntriesQueryGroupPurchase + const ListLedgerEntriesQueryGroupRefund + const ListLedgerEntriesQueryGroupReversal + const ListLedgerEntriesQueryGroupSpend + const ListLedgerEntriesQueryGroupTransfer + type ListLedgerEntriesQueryHolds string + const ListLedgerEntriesQueryHoldsCollapse + const ListLedgerEntriesQueryHoldsShow + type ListLedgerEntriesQueryMode string + const ListLedgerEntriesQueryModeLive + const ListLedgerEntriesQueryModeSandbox + type ListLedgerEntriesQueryType string + const ListLedgerEntriesQueryTypeAdjustmentDebit + const ListLedgerEntriesQueryTypeCharge + const ListLedgerEntriesQueryTypeClawback + const ListLedgerEntriesQueryTypeDebtSettlement + const ListLedgerEntriesQueryTypeExpiry + const ListLedgerEntriesQueryTypeGrantAdjustment + const ListLedgerEntriesQueryTypeGrantAllowance + const ListLedgerEntriesQueryTypeGrantPlan + const ListLedgerEntriesQueryTypeGrantPurchase + const ListLedgerEntriesQueryTypeHold + const ListLedgerEntriesQueryTypeHoldRelease + const ListLedgerEntriesQueryTypePoolIn + const ListLedgerEntriesQueryTypePoolOut + const ListLedgerEntriesQueryTypePoolReturnIn + const ListLedgerEntriesQueryTypePoolReturnOut + const ListLedgerEntriesQueryTypeRefund + const ListLedgerEntriesQueryTypeTransferIn + const ListLedgerEntriesQueryTypeTransferOut + type ListPaymentsItem = PaymentDto + type ListPaymentsQuery struct + Kind *ListPaymentsQueryKind + Limit *float64 + Page *float64 + Status *ListPaymentsQueryStatus + type ListPaymentsQueryKind string + const ListPaymentsQueryKindCreditPurchase + const ListPaymentsQueryKindRenewal + const ListPaymentsQueryKindSubscription + type ListPaymentsQueryStatus string + const ListPaymentsQueryStatusChargedBack + const ListPaymentsQueryStatusDisputed + const ListPaymentsQueryStatusExpired + const ListPaymentsQueryStatusFailed + const ListPaymentsQueryStatusPartiallyRefunded + const ListPaymentsQueryStatusPending + const ListPaymentsQueryStatusRefunded + const ListPaymentsQueryStatusSucceeded + type ListSandboxTransactionsItem = LedgerEntryDto + type ListSandboxTransactionsQuery struct + CostCode *string + EndDate *string + Group *ListSandboxTransactionsQueryGroup + Holds *ListSandboxTransactionsQueryHolds + Limit *float64 + Page *float64 + Reference *string + StartDate *string + Type *ListSandboxTransactionsQueryType + type ListSandboxTransactionsQueryGroup string + const ListSandboxTransactionsQueryGroupAdjustment + const ListSandboxTransactionsQueryGroupAllowance + const ListSandboxTransactionsQueryGroupExpiry + const ListSandboxTransactionsQueryGroupPlan + const ListSandboxTransactionsQueryGroupPool + const ListSandboxTransactionsQueryGroupPurchase + const ListSandboxTransactionsQueryGroupRefund + const ListSandboxTransactionsQueryGroupReversal + const ListSandboxTransactionsQueryGroupSpend + const ListSandboxTransactionsQueryGroupTransfer + type ListSandboxTransactionsQueryHolds string + const ListSandboxTransactionsQueryHoldsCollapse + const ListSandboxTransactionsQueryHoldsShow + type ListSandboxTransactionsQueryType string + const ListSandboxTransactionsQueryTypeAdjustmentDebit + const ListSandboxTransactionsQueryTypeCharge + const ListSandboxTransactionsQueryTypeClawback + const ListSandboxTransactionsQueryTypeDebtSettlement + const ListSandboxTransactionsQueryTypeExpiry + const ListSandboxTransactionsQueryTypeGrantAdjustment + const ListSandboxTransactionsQueryTypeGrantAllowance + const ListSandboxTransactionsQueryTypeGrantPlan + const ListSandboxTransactionsQueryTypeGrantPurchase + const ListSandboxTransactionsQueryTypeHold + const ListSandboxTransactionsQueryTypeHoldRelease + const ListSandboxTransactionsQueryTypePoolIn + const ListSandboxTransactionsQueryTypePoolOut + const ListSandboxTransactionsQueryTypePoolReturnIn + const ListSandboxTransactionsQueryTypePoolReturnOut + const ListSandboxTransactionsQueryTypeRefund + const ListSandboxTransactionsQueryTypeTransferIn + const ListSandboxTransactionsQueryTypeTransferOut + type ListSellersItem = SellerViewDto + type ListSellersQuery struct + Limit *float64 + Page *float64 + Search *string + type ListSubscriptionRenewalsItem = SubscriptionPeriodDto + type ListSubscriptionRenewalsQuery struct + Limit *float64 + Page *float64 + SubscriptionID *string + type ListSubscriptionsItem = SubscriptionDto + type ListSubscriptionsQuery struct + Limit *float64 + Page *float64 + type ListUsedItemCodesItem = UsedCodeDto + type ListUsedItemCodesQuery struct + Limit *float64 + Type ListUsedItemCodesQueryType + type ListUsedItemCodesQueryType string + const ListUsedItemCodesQueryTypeGoods + const ListUsedItemCodesQueryTypeService + type ListWebhookDeliveriesItem = WebhookDeliveryDto + type ListWebhookDeliveriesQuery struct + EndpointID *string + Limit *int64 + Page *int64 + Status *ListWebhookDeliveriesQueryStatus + Type *string + type ListWebhookDeliveriesQueryStatus string + const ListWebhookDeliveriesQueryStatusDelivered + const ListWebhookDeliveriesQueryStatusDelivering + const ListWebhookDeliveriesQueryStatusFailed + const ListWebhookDeliveriesQueryStatusPending + const ListWebhookDeliveriesQueryStatusRetrying + type ListWebhookEndpointsItem = WebhookEndpointDto + type ListWebhookEventTypesItem = WebhookEventTypeDto + type ListWebhookEventsItem = WebhookEventDto + type ListWebhookEventsQuery struct + From *string + Limit *int64 + Page *int64 + To *string + Type *string + type LiveUsageDto struct + Available int64 + Held int64 + Window *AllocationWindowDto + type LoadOlderInboundInvoicesData = InboundLoadOlderDto + type LookupTaxIdData = TaxIdLookupDto + type LookupTaxIdQuery struct + Type *LookupTaxIdQueryType + type LookupTaxIdQueryType string + const LookupTaxIdQueryTypeForeign + const LookupTaxIdQueryTypeRn + const LookupTaxIdQueryTypeTIN + type Mode string + const ModeLive + const ModeSandbox + func ModeOfAPIKey(apiKey string) (Mode, error) + type MonthBucketDto struct + Count float64 + GrossPayableMinor float64 + InputVATMinor float64 + Month string + type NextExpiryDto struct + At string + Credits int64 + type NotFoundError struct + func (e *NotFoundError) Unwrap() error + type NotePreviewLineDto struct + CreditsLineNo *int64 + Description string + LineNetMinor int64 + LineNo int64 + LineTaxMinor int64 + LineTotalMinor int64 + Quantity string + UnitPrice string + type NotePreviewTotalsDto struct + PayableMinor int64 + TaxExclusiveMinor int64 + TaxMinor int64 + type NotificationApiPaginationMetaDto struct + CurrentPage *string + HasNext bool + HasPrevious bool + NextPage *string + Page float64 + PageSize float64 + PreviousPage *string + Total float64 + TotalPages float64 + type NotificationApiSuccessMetaDto struct + Errors []map[string]string + Message string + Pagination *NotificationApiPaginationMetaDto + RequestID string + StatusCode float64 + Success bool + Timestamp string + type Option func(*clientConfig) + func WithAssertMode(mode Mode) Option + func WithBaseURL(baseURL string) Option + func WithHTTPClient(hc *http.Client) Option + func WithHeaders(h map[string]string) Option + func WithRetry(r RetryConfig) Option + func WithTimeout(d time.Duration) Option + func WithTransport(t Transport) Option + type OrganizationProfileResponseDto struct + Address *AddressResponseDto + ContactEmail *string + ContactPhone *string + Country string + CreatedAt string + ID string + LegalName *string + LiveStatus OrganizationProfileResponseDtoLiveStatus + LogoURL *string + Name string + OnboardingCompletedAt *string + ParentOrganizationID *string + PhoneVerified bool + SellerCode string + SellerCodeLocked bool + TIN *string + TINStatus OrganizationProfileResponseDtoTINStatus + TINVerifiedAt *string + Type OrganizationProfileResponseDtoType + Website *string + type OrganizationProfileResponseDtoLiveStatus string + const OrganizationProfileResponseDtoLiveStatusApproved + const OrganizationProfileResponseDtoLiveStatusNotRequested + const OrganizationProfileResponseDtoLiveStatusPendingReview + const OrganizationProfileResponseDtoLiveStatusRejected + const OrganizationProfileResponseDtoLiveStatusRevoked + type OrganizationProfileResponseDtoTINStatus string + const OrganizationProfileResponseDtoTINStatusFailed + const OrganizationProfileResponseDtoTINStatusPending + const OrganizationProfileResponseDtoTINStatusUnavailable + const OrganizationProfileResponseDtoTINStatusUnverified + const OrganizationProfileResponseDtoTINStatusVerified + type OrganizationProfileResponseDtoType string + const OrganizationProfileResponseDtoTypePrimary + const OrganizationProfileResponseDtoTypeSecondary + type OrganizationService struct + func (s *OrganizationService) Get(ctx context.Context, orgID string, opts ...RequestOption) (*GetOrganizationData, error) + func (s *OrganizationService) GetReadiness(ctx context.Context, opts ...RequestOption) (*GetOrganizationReadinessData, error) + type OutputService struct + func (s *OutputService) DownloadPDF(ctx context.Context, id string, opts ...RequestOption) (*BinaryResponse, error) + func (s *OutputService) GetDownloadLink(ctx context.Context, id string, opts ...RequestOption) (*DownloadInvoiceData, error) + func (s *OutputService) Send(ctx context.Context, id string, params *SendInvoiceBody, opts ...RequestOption) (*SendInvoiceData, error) + type OutputTaxTotalDto struct + CreditNotesTaxMinor int64 + Currency string + InvoicesTaxMinor int64 + NetTaxMinor int64 + type OverviewAlertsDto struct + FailedInvoices int64 + UnverifiedBuyers int64 + UnverifiedSellers int64 + type OverviewCollectionsDto struct + Outstanding []CurrencyAmountDto + OverdueCount int64 + type OverviewCurrencyValueDto struct + Count int64 + Currency string + ValueMinor int64 + type OverviewKpisDto struct + AvgProcessingTime OverviewProcessingTimeKpiDto + SuccessRate OverviewSuccessRateKpiDto + ValueProcessed OverviewValueProcessedKpiDto + Volume OverviewVolumeKpiDto + type OverviewPaymentStatusDto struct + Overdue int64 + Paid int64 + PartiallyPaid int64 + Unpaid int64 + type OverviewProcessingTimeKpiDto struct + DeltaSeconds *float64 + Seconds *float64 + type OverviewReadinessDto struct + Buyers int64 + BuyersVerified int64 + Sellers int64 + SellersVerified int64 + type OverviewSuccessRateKpiDto struct + DeltaPp *float64 + Spark []float64 + Value float64 + type OverviewTrendPointDto struct + Accepted int64 + Created int64 + Date string + Failed int64 + Submitted int64 + SuccessRate float64 + type OverviewValueProcessedKpiDto struct + ByCurrency []OverviewCurrencyValueDto + DeltaPct *float64 + PrimaryCurrency *string + PrimaryValueMinor int64 + SparkMinor []int64 + type OverviewVolumeKpiDto struct + DeltaPct *float64 + Spark []int64 + Value int64 + type OverviewWindowDto struct + Days int64 + End string + Start string + type Page struct + Data []T + Pagination PaginationMeta + RequestID string + type Paginated struct + Data D + Pagination *PaginationMeta + RequestID string + type PaginationMeta struct + CurrentPage string + HasNext bool + HasPrevious bool + NextPage string + Page int64 + PageSize int64 + PreviousPage string + Total int64 + TotalPages int64 + type PartyAddressDto struct + City string + Country string + Lga *string + Line1 string + Line2 *string + PostalCode *string + State *string + type PaymentBreakdownDto struct + Overdue AmountBucketDto + Paid AmountBucketDto + Partial AmountBucketDto + Rejected AmountBucketDto + Unknown AmountBucketDto + Unpaid AmountBucketDto + type PaymentDetailDto struct + AmountMinor int64 + CheckoutURL *string + CreatedAt string + Credits *int64 + Currency PaymentDetailDtoCurrency + Kind PaymentDetailDtoKind + PaymentID string + Provider PaymentDetailDtoProvider + ProviderReference *string + RefundedMinor int64 + SettledAt *string + Status PaymentDetailDtoStatus + StatusReason *string + SubscriptionID *string + type PaymentDetailDtoCurrency string + const PaymentDetailDtoCurrencyNGN + const PaymentDetailDtoCurrencyUSD + type PaymentDetailDtoKind string + const PaymentDetailDtoKindCreditPurchase + const PaymentDetailDtoKindRenewal + const PaymentDetailDtoKindSubscription + type PaymentDetailDtoProvider string + const PaymentDetailDtoProviderPaystack + const PaymentDetailDtoProviderStripe + type PaymentDetailDtoStatus string + const PaymentDetailDtoStatusChargedBack + const PaymentDetailDtoStatusDisputed + const PaymentDetailDtoStatusExpired + const PaymentDetailDtoStatusFailed + const PaymentDetailDtoStatusPartiallyRefunded + const PaymentDetailDtoStatusPending + const PaymentDetailDtoStatusRefunded + const PaymentDetailDtoStatusSucceeded + type PaymentDto struct + AmountMinor int64 + CreatedAt string + Credits *int64 + Currency PaymentDtoCurrency + Kind PaymentDtoKind + PaymentID string + Provider PaymentDtoProvider + ProviderReference *string + RefundedMinor int64 + SettledAt *string + Status PaymentDtoStatus + StatusReason *string + SubscriptionID *string + type PaymentDtoCurrency string + const PaymentDtoCurrencyNGN + const PaymentDtoCurrencyUSD + type PaymentDtoKind string + const PaymentDtoKindCreditPurchase + const PaymentDtoKindRenewal + const PaymentDtoKindSubscription + type PaymentDtoProvider string + const PaymentDtoProviderPaystack + const PaymentDtoProviderStripe + type PaymentDtoStatus string + const PaymentDtoStatusChargedBack + const PaymentDtoStatusDisputed + const PaymentDtoStatusExpired + const PaymentDtoStatusFailed + const PaymentDtoStatusPartiallyRefunded + const PaymentDtoStatusPending + const PaymentDtoStatusRefunded + const PaymentDtoStatusSucceeded + type PaymentStatusDto struct + AmountMinor *int64 + Note *string + Reference *string + Status PaymentStatusDtoStatus + type PaymentStatusDtoStatus string + const PaymentStatusDtoStatusPaid + const PaymentStatusDtoStatusPartiallyPaid + const PaymentStatusDtoStatusPaymentFailed + const PaymentStatusDtoStatusUnpaid + type PaymentsService struct + func (s *PaymentsService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetPaymentData, error) + func (s *PaymentsService) List(ctx context.Context, query *ListPaymentsQuery, opts ...RequestOption) (*Page[ListPaymentsItem], error) + type PermissionError struct + func (e *PermissionError) Unwrap() error + type PlanChangeDto struct + AmountDueMinor *int64 + CreatedAt string + CreditMinor int64 + Currency PlanChangeDtoCurrency + EffectiveAt *string + FromInterval PlanChangeDtoFromInterval + FromPlanCode string + ID string + MonthlyCredits int64 + PaymentID *string + RecurringAmountMinor int64 + Status PlanChangeDtoStatus + TargetSubscriptionID *string + Timing PlanChangeDtoTiming + ToInterval PlanChangeDtoToInterval + ToPlanCode string + ToPlanName string + WindowsUnissued *int64 + type PlanChangeDtoCurrency string + const PlanChangeDtoCurrencyNGN + const PlanChangeDtoCurrencyUSD + type PlanChangeDtoFromInterval string + const PlanChangeDtoFromIntervalMonthly + const PlanChangeDtoFromIntervalYearly + type PlanChangeDtoStatus string + const PlanChangeDtoStatusApplied + const PlanChangeDtoStatusCancelled + const PlanChangeDtoStatusExpired + const PlanChangeDtoStatusPendingPayment + const PlanChangeDtoStatusScheduled + type PlanChangeDtoTiming string + const PlanChangeDtoTimingImmediate + const PlanChangeDtoTimingPeriodEnd + type PlanChangeDtoToInterval string + const PlanChangeDtoToIntervalMonthly + const PlanChangeDtoToIntervalYearly + type PlanChangeQuoteCurrentDto struct + AmountMinor int64 + Interval PlanChangeQuoteCurrentDtoInterval + PeriodEnd *string + PlanCode string + type PlanChangeQuoteCurrentDtoInterval string + const PlanChangeQuoteCurrentDtoIntervalMonthly + const PlanChangeQuoteCurrentDtoIntervalYearly + type PlanChangeQuoteDto struct + Current PlanChangeQuoteCurrentDto + Immediate PlanChangeQuoteImmediateDto + PeriodEnd PlanChangeQuotePeriodEndDto + SubscriptionID string + Target PlanChangeQuoteTargetDto + type PlanChangeQuoteImmediateDto struct + AmountDueMinor int64 + Available bool + CreditMinor int64 + QuoteValidSeconds int64 + Reason *PlanChangeQuoteImmediateDtoReason + RetryAt *string + WindowsInPeriod int64 + WindowsUnissued int64 + type PlanChangeQuoteImmediateDtoReason string + const PlanChangeQuoteImmediateDtoReasonCancelScheduled + const PlanChangeQuoteImmediateDtoReasonCheckoutInProgress + const PlanChangeQuoteImmediateDtoReasonCurrencyChange + const PlanChangeQuoteImmediateDtoReasonFeatureDisabled + const PlanChangeQuoteImmediateDtoReasonFreeSubscription + const PlanChangeQuoteImmediateDtoReasonNotActive + const PlanChangeQuoteImmediateDtoReasonPaymentNotClear + const PlanChangeQuoteImmediateDtoReasonPeriodEndOnly + const PlanChangeQuoteImmediateDtoReasonSamePlan + const PlanChangeQuoteImmediateDtoReasonWindowBoundaryNear + type PlanChangeQuotePeriodEndDto struct + Available bool + EffectiveAt *string + Reason *PlanChangeQuotePeriodEndDtoReason + type PlanChangeQuotePeriodEndDtoReason string + const PlanChangeQuotePeriodEndDtoReasonCancelScheduled + const PlanChangeQuotePeriodEndDtoReasonCheckoutInProgress + const PlanChangeQuotePeriodEndDtoReasonCurrencyChange + const PlanChangeQuotePeriodEndDtoReasonFeatureDisabled + const PlanChangeQuotePeriodEndDtoReasonFreeSubscription + const PlanChangeQuotePeriodEndDtoReasonNotActive + const PlanChangeQuotePeriodEndDtoReasonPaymentNotClear + const PlanChangeQuotePeriodEndDtoReasonPeriodEndOnly + const PlanChangeQuotePeriodEndDtoReasonSamePlan + const PlanChangeQuotePeriodEndDtoReasonWindowBoundaryNear + type PlanChangeQuoteTargetDto struct + Currency PlanChangeQuoteTargetDtoCurrency + Interval PlanChangeQuoteTargetDtoInterval + MonthlyCredits int64 + PlanCode string + PlanName string + RecurringAmountMinor int64 + type PlanChangeQuoteTargetDtoCurrency string + const PlanChangeQuoteTargetDtoCurrencyNGN + const PlanChangeQuoteTargetDtoCurrencyUSD + type PlanChangeQuoteTargetDtoInterval string + const PlanChangeQuoteTargetDtoIntervalMonthly + const PlanChangeQuoteTargetDtoIntervalYearly + type PlanLimitsDto struct + Buyers *int64 + Invoices *int64 + MembersPerOrganization *int64 + Organizations *int64 + type PreviewSubscriptionPlanChangeData = PlanChangeQuoteDto + type PreviewSubscriptionPlanChangeQuery struct + Interval *PreviewSubscriptionPlanChangeQueryInterval + NewPlanCode string + type PreviewSubscriptionPlanChangeQueryInterval string + const PreviewSubscriptionPlanChangeQueryIntervalMonthly + const PreviewSubscriptionPlanChangeQueryIntervalYearly + type PreviousKeyDto struct + CertificateFingerprint string + RetiredAt *string + type QueryInvoiceStatusData = QueryStatusDto + type QueryStatusDto struct + Authority AuthorityStatusDto + AuthorityReference *string + AuthorityState *QueryStatusDtoAuthorityState + InvoiceID string + LastSyncedAt *string + ParkReason *string + Status QueryStatusDtoStatus + Submissions []SubmissionViewDto + type QueryStatusDtoAuthorityState string + const QueryStatusDtoAuthorityStateDelivered + const QueryStatusDtoAuthorityStateHandedOff + const QueryStatusDtoAuthorityStateParked + const QueryStatusDtoAuthorityStateQueued + const QueryStatusDtoAuthorityStateRegistered + const QueryStatusDtoAuthorityStateRejected + const QueryStatusDtoAuthorityStateTransmitted + const QueryStatusDtoAuthorityStateWithdrawn + type QueryStatusDtoStatus string + const QueryStatusDtoStatusAccepted + const QueryStatusDtoStatusCancellationPending + const QueryStatusDtoStatusCancelled + const QueryStatusDtoStatusDraft + const QueryStatusDtoStatusFailed + const QueryStatusDtoStatusFinalised + const QueryStatusDtoStatusQueued + const QueryStatusDtoStatusRejected + const QueryStatusDtoStatusSigned + const QueryStatusDtoStatusTransmitted + type RateLimitError struct + func (e *RateLimitError) Unwrap() error + type RawResponse struct + Binary *BinaryResponse + Data json.RawMessage + Header http.Header + Meta *ResponseMeta + RequestID string + Status int + type ReadinessChecklistResponseDto struct + ContactInfoComplete bool + OnboardingCompleted bool + PhoneVerified bool + TIN ReadinessTinResponseDto + TermsAccepted ReadinessTermsResponseDto + type ReadinessResponseDto struct + Checklist ReadinessChecklistResponseDto + LiveEnabled bool + LiveStatus ReadinessResponseDtoLiveStatus + NextStep ReadinessResponseDtoNextStep + ProductionModeEnabled bool + type ReadinessResponseDtoLiveStatus string + const ReadinessResponseDtoLiveStatusApproved + const ReadinessResponseDtoLiveStatusNotRequested + const ReadinessResponseDtoLiveStatusPendingReview + const ReadinessResponseDtoLiveStatusRejected + const ReadinessResponseDtoLiveStatusRevoked + type ReadinessResponseDtoNextStep string + const ReadinessResponseDtoNextStepAwaitingReview + const ReadinessResponseDtoNextStepComplete + const ReadinessResponseDtoNextStepContactInfo + const ReadinessResponseDtoNextStepLive + const ReadinessResponseDtoNextStepLiveClosed + const ReadinessResponseDtoNextStepRejected + const ReadinessResponseDtoNextStepRevoked + const ReadinessResponseDtoNextStepVerifyPhone + const ReadinessResponseDtoNextStepVerifyTIN + type ReadinessTermsResponseDto struct + At *string + Version *string + type ReadinessTinResponseDto struct + Status ReadinessTinResponseDtoStatus + VerifiedAt *string + type ReadinessTinResponseDtoStatus string + const ReadinessTinResponseDtoStatusFailed + const ReadinessTinResponseDtoStatusPending + const ReadinessTinResponseDtoStatusUnavailable + const ReadinessTinResponseDtoStatusUnverified + const ReadinessTinResponseDtoStatusVerified + type RecordInvoicePaymentBody = PaymentStatusDto + type RecordInvoicePaymentData = InvoiceViewDto + type RedeliverWebhookDeliveryData = WebhookDeliveryDto + type RedeliverWebhookEventBody = RedeliverWebhookEventDto + type RedeliverWebhookEventData = WebhookDeliveryDto + type RedeliverWebhookEventDto struct + EndpointID string + type ReferenceService struct + func (s *ReferenceService) GetResource(ctx context.Context, listType string, opts ...RequestOption) (*GetInvoiceReferenceListData, error) + func (s *ReferenceService) ListHsCodeCategories(ctx context.Context, opts ...RequestOption) ([]ListHsCodeCategoriesItem, error) + func (s *ReferenceService) ListHsCodes(ctx context.Context, query *ListHsCodesQuery, opts ...RequestOption) (*Page[ListHsCodesItem], error) + func (s *ReferenceService) ListResources(ctx context.Context, opts ...RequestOption) (*ListInvoiceReferenceListsData, error) + func (s *ReferenceService) LookupTaxID(ctx context.Context, value string, query *LookupTaxIdQuery, ...) (*LookupTaxIdData, error) + func (s *ReferenceService) ValidateInvoice(ctx context.Context, params *ValidateInvoiceBody, opts ...RequestOption) (*ValidateInvoiceData, error) + type RenumberInvoiceData = SubmitAnswerDto + type ReopenInvoiceData = InvoiceViewDto + type RequestOption func(*RequestOptions) + func WithIdempotencyKey(key string) RequestOption + func WithMaxRetries(n int) RequestOption + func WithRequestHeaders(h map[string]string) RequestOption + func WithRequestTimeout(d time.Duration) RequestOption + type RequestOptions struct + Headers map[string]string + IdempotencyKey string + MaxRetries *int + Timeout time.Duration + type ResponseMeta struct + Errors []map[string]any + Message string + Pagination *PaginationMeta + RequestID string + StatusCode int + Success bool + Timestamp string + type RetryAnswerDto struct + Invoice InvoiceViewDto + Submission SubmissionViewDto + type RetryConfig struct + BaseDelay time.Duration + MaxDelay time.Duration + MaxRetries *int + MaxRetryAfter time.Duration + type RetryInvoiceSubmissionData = RetryAnswerDto + type ReviseInvoiceData = InvoiceViewDto + type RevokeInvoiceShareLinkData = ShareLinkViewDto + type SandboxBalanceDto struct + Available int64 + Held int64 + type SandboxService struct + func (s *SandboxService) GetUsage(ctx context.Context, opts ...RequestOption) (*GetSandboxUsageData, error) + func (s *SandboxService) ListTransactions(ctx context.Context, query *ListSandboxTransactionsQuery, ...) (*Page[ListSandboxTransactionsItem], error) + type SandboxUsageDto struct + CreditsLimit int64 + CreditsRemaining int64 + CreditsUsed int64 + PeriodEnd string + PeriodStart string + type SearchBuyersItem = BuyerViewDto + type SearchBuyersQuery struct + Limit *float64 + Q string + type SearchSellersItem = SellerViewDto + type SearchSellersQuery struct + Limit *float64 + Q string + type SellerSetupDto struct + AdditionalSellersAvailable bool + Countries []CountryOptionDto + Seller SellerViewDto + TaxIDTypes []TaxIdTypeOptionDto + type SellerVerificationStatusDto struct + TaxIDStatus SellerVerificationStatusDtoTaxIDStatus + TaxIDVerifiedAt *string + type SellerVerificationStatusDtoTaxIDStatus string + const SellerVerificationStatusDtoTaxIDStatusChecking + const SellerVerificationStatusDtoTaxIDStatusNameMismatch + const SellerVerificationStatusDtoTaxIDStatusNotFound + const SellerVerificationStatusDtoTaxIDStatusPending + const SellerVerificationStatusDtoTaxIDStatusUnavailable + const SellerVerificationStatusDtoTaxIDStatusUnverified + const SellerVerificationStatusDtoTaxIDStatusValidOffNetwork + const SellerVerificationStatusDtoTaxIDStatusVerified + type SellerViewDto struct + Address *PartyAddressDto + Country *string + Email *string + ID string + Kind SellerViewDtoKind + LegalName *string + Name string + NameSource SellerViewDtoNameSource + PartyName string + Phone *string + TaxID *string + TaxIDStatus SellerViewDtoTaxIDStatus + TaxIDType SellerViewDtoTaxIDType + TaxIDVerifiedAt *string + type SellerViewDtoKind string + const SellerViewDtoKindOrganization + type SellerViewDtoNameSource string + const SellerViewDtoNameSourceEntered + const SellerViewDtoNameSourceNRS + const SellerViewDtoNameSourceTINCheck + type SellerViewDtoTaxIDStatus string + const SellerViewDtoTaxIDStatusChecking + const SellerViewDtoTaxIDStatusNameMismatch + const SellerViewDtoTaxIDStatusNotFound + const SellerViewDtoTaxIDStatusPending + const SellerViewDtoTaxIDStatusUnavailable + const SellerViewDtoTaxIDStatusUnverified + const SellerViewDtoTaxIDStatusValidOffNetwork + const SellerViewDtoTaxIDStatusVerified + type SellerViewDtoTaxIDType string + const SellerViewDtoTaxIDTypeForeign + const SellerViewDtoTaxIDTypeNone + const SellerViewDtoTaxIDTypeRn + const SellerViewDtoTaxIDTypeTIN + type SellersService struct + func (s *SellersService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetSellerData, error) + func (s *SellersService) GetVerificationStatus(ctx context.Context, id string, opts ...RequestOption) (*GetSellerVerificationStatusData, error) + func (s *SellersService) List(ctx context.Context, query *ListSellersQuery, opts ...RequestOption) (*Page[ListSellersItem], error) + func (s *SellersService) Search(ctx context.Context, query *SearchSellersQuery, opts ...RequestOption) ([]SearchSellersItem, error) + type SendInvoiceBody = SendInvoiceDto + type SendInvoiceData = SendResultDto + type SendInvoiceDto struct + Message *string + type SendResultDto struct + DeliveryStatus SendResultDtoDeliveryStatus + Replayed *bool + SendID string + ShareURL *string + type SendResultDtoDeliveryStatus string + const SendResultDtoDeliveryStatusSent + type ServerError struct + func (e *ServerError) Unwrap() error + type SetupBillingAccountDto struct + DefaultCurrency SetupBillingAccountDtoDefaultCurrency + ID string + LowBalanceThreshold int64 + OrganizationID string + type SetupBillingAccountDtoDefaultCurrency string + const SetupBillingAccountDtoDefaultCurrencyNGN + const SetupBillingAccountDtoDefaultCurrencyUSD + type SetupDto struct + AvailablePlans []AvailablePlanDto + BillingAccount SetupBillingAccountDto + SandboxUsage *SandboxUsageDto + Subscription *SubscriptionDto + Usage SetupUsageDto + type SetupUsageDto struct + Live *LiveUsageDto + Sandbox *SandboxBalanceDto + type ShareLinkCreatorDto struct + ID *string + Type ShareLinkCreatorDtoType + type ShareLinkCreatorDtoType string + const ShareLinkCreatorDtoTypeAPIKey + const ShareLinkCreatorDtoTypeService + const ShareLinkCreatorDtoTypeSystem + const ShareLinkCreatorDtoTypeUser + type ShareLinkViewDto struct + CreatedAt string + CreatedBy ShareLinkCreatorDto + ExpiresAt string + ID string + InvoiceID string + LastViewedAt *string + MaxViews *float64 + RevokedAt *string + URL *string + ViewCount float64 + type ShareLinksService struct + func (s *ShareLinksService) Create(ctx context.Context, invoiceID string, params *CreateInvoiceShareLinkBody, ...) (*CreateInvoiceShareLinkData, error) + func (s *ShareLinksService) List(ctx context.Context, invoiceID string, opts ...RequestOption) ([]ListInvoiceShareLinksItem, error) + func (s *ShareLinksService) Revoke(ctx context.Context, invoiceID, linkID string, opts ...RequestOption) (*RevokeInvoiceShareLinkData, error) + type StatementChargeLineDto struct + CostCode string + Count int64 + Credits int64 + type StatementDto struct + Charges []StatementChargeLineDto + Clawbacks int64 + ClosingBalance int64 + DebtSettled int64 + Expired int64 + Grants StatementGrantsDto + HoldsOutstanding int64 + Mode StatementDtoMode + OpeningBalance int64 + Payments []StatementPaymentDto + Period string + Pool StatementPoolDto + Refunds int64 + Transfers StatementTransfersDto + type StatementDtoMode string + const StatementDtoModeLive + const StatementDtoModeSandbox + type StatementGrantsDto struct + Adjustment int64 + Allowance int64 + Plan int64 + Purchase int64 + type StatementPaymentDto struct + AmountMinor int64 + Currency StatementPaymentDtoCurrency + Kind StatementPaymentDtoKind + PaymentID string + SettledAt *string + Status StatementPaymentDtoStatus + type StatementPaymentDtoCurrency string + const StatementPaymentDtoCurrencyNGN + const StatementPaymentDtoCurrencyUSD + type StatementPaymentDtoKind string + const StatementPaymentDtoKindCreditPurchase + const StatementPaymentDtoKindRenewal + const StatementPaymentDtoKindSubscription + type StatementPaymentDtoStatus string + const StatementPaymentDtoStatusChargedBack + const StatementPaymentDtoStatusDisputed + const StatementPaymentDtoStatusExpired + const StatementPaymentDtoStatusFailed + const StatementPaymentDtoStatusPartiallyRefunded + const StatementPaymentDtoStatusPending + const StatementPaymentDtoStatusRefunded + const StatementPaymentDtoStatusSucceeded + type StatementPoolDto struct + In int64 + Out int64 + ReturnedIn int64 + ReturnedOut int64 + type StatementTransfersDto struct + In int64 + Out int64 + type StatementsService struct + func (s *StatementsService) Get(ctx context.Context, period string, query *GetBillingStatementQuery, ...) (*GetBillingStatementData, error) + type StatisticsWindowDto struct + From string + To string + type SubmissionBillingDto struct + State SubmissionBillingDtoState + type SubmissionBillingDtoState string + const SubmissionBillingDtoStateCaptureLost + const SubmissionBillingDtoStateCaptured + const SubmissionBillingDtoStateHeld + const SubmissionBillingDtoStateNotCharged + const SubmissionBillingDtoStateReleased + type SubmissionRejectReasonDto struct + Code string + Field *string + Message string + type SubmissionStatusDto struct + AuthorityReference *string + AuthorityState *SubmissionStatusDtoAuthorityState + InvoiceID string + LastSyncedAt *string + ParkReason *string + Status SubmissionStatusDtoStatus + Submissions []SubmissionViewDto + type SubmissionStatusDtoAuthorityState string + const SubmissionStatusDtoAuthorityStateDelivered + const SubmissionStatusDtoAuthorityStateHandedOff + const SubmissionStatusDtoAuthorityStateParked + const SubmissionStatusDtoAuthorityStateQueued + const SubmissionStatusDtoAuthorityStateRegistered + const SubmissionStatusDtoAuthorityStateRejected + const SubmissionStatusDtoAuthorityStateTransmitted + const SubmissionStatusDtoAuthorityStateWithdrawn + type SubmissionStatusDtoStatus string + const SubmissionStatusDtoStatusAccepted + const SubmissionStatusDtoStatusCancellationPending + const SubmissionStatusDtoStatusCancelled + const SubmissionStatusDtoStatusDraft + const SubmissionStatusDtoStatusFailed + const SubmissionStatusDtoStatusFinalised + const SubmissionStatusDtoStatusQueued + const SubmissionStatusDtoStatusRejected + const SubmissionStatusDtoStatusSigned + const SubmissionStatusDtoStatusTransmitted + type SubmissionVerificationDto struct + CapturedAt *string + State SubmissionVerificationDtoState + type SubmissionVerificationDtoState string + const SubmissionVerificationDtoStateCaptured + const SubmissionVerificationDtoStatePending + const SubmissionVerificationDtoStateUnavailable + type SubmissionViewDto struct + AttemptNo int64 + AuthorityLastCheckedAt *string + AuthorityNextCheckAt *string + AuthorityNote *string + AuthorityReference *string + AuthorityState SubmissionViewDtoAuthorityState + AuthoritySubmissionID *string + Billing SubmissionBillingDto + CreatedBy InvoiceActorDto + DeliveredAt *string + DeliveredOffNetworkAt *string + HandedOffAt *string + InvoiceID string + IssuedAs *InvoiceIssuedAsDto + OffNetworkReason *SubmissionViewDtoOffNetworkReason + ParkReason *string + ParkedAt *string + QueuedAt string + RegisteredAt *string + RejectReasons []SubmissionRejectReasonDto + RejectedAt *string + Status SubmissionViewDtoStatus + SubmissionID string + TransmittedAt *string + Verification *SubmissionVerificationDto + type SubmissionViewDtoAuthorityState string + const SubmissionViewDtoAuthorityStateDelivered + const SubmissionViewDtoAuthorityStateHandedOff + const SubmissionViewDtoAuthorityStateParked + const SubmissionViewDtoAuthorityStateQueued + const SubmissionViewDtoAuthorityStateRegistered + const SubmissionViewDtoAuthorityStateRejected + const SubmissionViewDtoAuthorityStateTransmitted + const SubmissionViewDtoAuthorityStateWithdrawn + type SubmissionViewDtoOffNetworkReason string + const SubmissionViewDtoOffNetworkReasonB2C + const SubmissionViewDtoOffNetworkReasonBuyerOffNetwork + const SubmissionViewDtoOffNetworkReasonNoBuyerTIN + const SubmissionViewDtoOffNetworkReasonUnspecified + type SubmissionViewDtoStatus string + const SubmissionViewDtoStatusAccepted + const SubmissionViewDtoStatusCancellationPending + const SubmissionViewDtoStatusCancelled + const SubmissionViewDtoStatusDraft + const SubmissionViewDtoStatusFailed + const SubmissionViewDtoStatusFinalised + const SubmissionViewDtoStatusQueued + const SubmissionViewDtoStatusRejected + const SubmissionViewDtoStatusSigned + const SubmissionViewDtoStatusTransmitted + type SubmissionsService struct + func (s *SubmissionsService) BatchSubmit(ctx context.Context, params *BatchSubmitInvoicesBody, opts ...RequestOption) (*BatchSubmitInvoicesData, error) + func (s *SubmissionsService) CreateAndSubmit(ctx context.Context, params *CreateAndSubmitInvoiceBody, opts ...RequestOption) (*CreateAndSubmitInvoiceData, error) + func (s *SubmissionsService) GetAuthorityCopy(ctx context.Context, id string, opts ...RequestOption) (*GetInvoiceAuthorityCopyData, error) + func (s *SubmissionsService) GetStatus(ctx context.Context, id string, opts ...RequestOption) (*GetInvoiceStatusData, error) + func (s *SubmissionsService) Issue(ctx context.Context, id string, opts ...RequestOption) (*IssueInvoiceData, error) + func (s *SubmissionsService) QueryStatus(ctx context.Context, id string, opts ...RequestOption) (*QueryInvoiceStatusData, error) + func (s *SubmissionsService) RecordPayment(ctx context.Context, id string, params *RecordInvoicePaymentBody, ...) (*RecordInvoicePaymentData, error) + func (s *SubmissionsService) Renumber(ctx context.Context, id string, opts ...RequestOption) (*RenumberInvoiceData, error) + func (s *SubmissionsService) Retry(ctx context.Context, id string, opts ...RequestOption) (*RetryInvoiceSubmissionData, error) + func (s *SubmissionsService) Submit(ctx context.Context, id string, query *SubmitInvoiceQuery, ...) (*SubmitInvoiceData, error) + type SubmitAnswerDto struct + Invoice InvoiceViewDto + Replayed bool + Submission SubmissionViewDto + type SubmitInvoiceData = SubmitAnswerDto + type SubmitInvoiceQuery struct + Finalise *SubmitInvoiceQueryFinalise + type SubmitInvoiceQueryFinalise string + const SubmitInvoiceQueryFinaliseFalse + const SubmitInvoiceQueryFinaliseTrue + type SubmitRefusalDto struct + ErrorCode string + Message string + type SubscriptionDto struct + AmountMinor int64 + CancelAtPeriodEnd bool + CreatedAt string + Currency SubscriptionDtoCurrency + CurrentPeriodEnd *string + CurrentPeriodStart *string + GraceEndsAt *string + ID string + Interval SubscriptionDtoInterval + MonthlyCredits int64 + PastDueSince *string + PlanCode string + PlanName string + PlanVersion int64 + Status SubscriptionDtoStatus + type SubscriptionDtoCurrency string + const SubscriptionDtoCurrencyNGN + const SubscriptionDtoCurrencyUSD + type SubscriptionDtoInterval string + const SubscriptionDtoIntervalMonthly + const SubscriptionDtoIntervalYearly + type SubscriptionDtoStatus string + const SubscriptionDtoStatusActive + const SubscriptionDtoStatusCancelled + const SubscriptionDtoStatusExpired + const SubscriptionDtoStatusPastDue + const SubscriptionDtoStatusPendingPayment + type SubscriptionPeriodDto struct + AmountMinor int64 + ChargeStatus SubscriptionPeriodDtoChargeStatus + CreatedAt string + Currency SubscriptionPeriodDtoCurrency + ID string + PaymentID *string + PeriodEnd string + PeriodStart string + SettledAt *string + SubscriptionID string + type SubscriptionPeriodDtoChargeStatus string + const SubscriptionPeriodDtoChargeStatusFailed + const SubscriptionPeriodDtoChargeStatusNotRequired + const SubscriptionPeriodDtoChargeStatusPending + const SubscriptionPeriodDtoChargeStatusSucceeded + type SubscriptionPeriodDtoCurrency string + const SubscriptionPeriodDtoCurrencyNGN + const SubscriptionPeriodDtoCurrencyUSD + type SubscriptionsService struct + func (s *SubscriptionsService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetSubscriptionData, error) + func (s *SubscriptionsService) GetActive(ctx context.Context, opts ...RequestOption) (*GetActiveSubscriptionData, error) + func (s *SubscriptionsService) List(ctx context.Context, query *ListSubscriptionsQuery, opts ...RequestOption) (*Page[ListSubscriptionsItem], error) + func (s *SubscriptionsService) ListRenewals(ctx context.Context, query *ListSubscriptionRenewalsQuery, ...) (*Page[ListSubscriptionRenewalsItem], error) + func (s *SubscriptionsService) PreviewPlanChange(ctx context.Context, id string, query *PreviewSubscriptionPlanChangeQuery, ...) (*PreviewSubscriptionPlanChangeData, error) + type SupplierBucketDto struct + Count float64 + GrossPayableMinor float64 + Name *string + TIN *string + type TaxConnectionService struct + func (s *TaxConnectionService) Get(ctx context.Context, opts ...RequestOption) (*GetTaxConnectionData, error) + type TaxIdLookupDto struct + Outcome TaxIdLookupDtoOutcome + Reference *string + RegisteredName *string + Type TaxIdLookupDtoType + Value string + type TaxIdLookupDtoOutcome string + const TaxIdLookupDtoOutcomeNotFound + const TaxIdLookupDtoOutcomeVerified + type TaxIdLookupDtoType string + const TaxIdLookupDtoTypeForeign + const TaxIdLookupDtoTypeRn + const TaxIdLookupDtoTypeTIN + type TaxIdTypeOptionDto struct + Description string + Type TaxIdTypeOptionDtoType + Verifiable bool + type TaxIdTypeOptionDtoType string + const TaxIdTypeOptionDtoTypeForeign + const TaxIdTypeOptionDtoTypeNone + const TaxIdTypeOptionDtoTypeRn + const TaxIdTypeOptionDtoTypeTIN + type TaxIdentityViewDto struct + ConnectedAt string + RevokedAt *string + RevokedReason *string + TaxID string + type TestWebhookEndpointBody = TestWebhookEndpointDto + type TestWebhookEndpointData = WebhookTestResultDto + type TestWebhookEndpointDto struct + Type *string + type TimeoutError struct + Timeout time.Duration + func (e *TimeoutError) Error() string + type TopSuppliersDto struct + ByAmount []SupplierBucketDto + ByCount []SupplierBucketDto + type TransactionsService struct + func (s *TransactionsService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetLedgerEntryData, error) + func (s *TransactionsService) GetUsageAnalytics(ctx context.Context, query *GetUsageAnalyticsQuery, opts ...RequestOption) ([]GetUsageAnalyticsItem, error) + func (s *TransactionsService) GetUsageByCostCode(ctx context.Context, query *GetUsageByCostCodeQuery, opts ...RequestOption) ([]GetUsageByCostCodeItem, error) + func (s *TransactionsService) List(ctx context.Context, query *ListLedgerEntriesQuery, opts ...RequestOption) (*Page[ListLedgerEntriesItem], error) + type TransmittedByDto struct + Label string + Provider *TransmitterDto + Us bool + type TransmitterDto struct + Name string + Reference string + type Transport interface + Do func(*http.Request) (*http.Response, error) + type UnarchiveItemData = ItemViewDto + type UpdateBuyerBody = UpdateBuyerDto + type UpdateBuyerData = BuyerViewDto + type UpdateBuyerDto struct + Address *BuyerAddressDto + BusinessDescription *string + Email *string + LegalName *string + Name *string + PartyType *UpdateBuyerDtoPartyType + Phone *string + Reference *string + TaxID *string + TaxIDType *UpdateBuyerDtoTaxIDType + type UpdateBuyerDtoPartyType string + const UpdateBuyerDtoPartyTypeCompany + const UpdateBuyerDtoPartyTypeGovernment + const UpdateBuyerDtoPartyTypeIndividual + const UpdateBuyerDtoPartyTypeNonProfit + const UpdateBuyerDtoPartyTypePartnership + type UpdateBuyerDtoTaxIDType string + const UpdateBuyerDtoTaxIDTypeForeign + const UpdateBuyerDtoTaxIDTypeNone + const UpdateBuyerDtoTaxIDTypeRn + const UpdateBuyerDtoTaxIDTypeTIN + type UpdateInvoiceBody = UpdateInvoiceDto + type UpdateInvoiceData = InvoiceViewDto + type UpdateInvoiceDto struct + AccountingCost *string + AllowanceAmount *Amount + BuyerID *string + BuyerReference *string + ChargeAmount *Amount + Currency *string + DueDate *string + InvoiceDate *string + InvoiceKind *string + InvoiceNumber *string + IssueTime *string + LineItems []InvoiceLineItemDto + Notes *string + PaymentTerms *string + PurchaseOrderReference *string + SellerID *string + type UpdateItemBody = UpdateItemDto + type UpdateItemData = ItemViewDto + type UpdateItemDto struct + Currency *string + Description *string + HSNCode *string + ItemType *UpdateItemDtoItemType + Name *string + ProductCategory *string + SKU *string + ServiceCode *string + TaxCategory *string + UnitCode *string + UnitPriceMinor *string + type UpdateItemDtoItemType string + const UpdateItemDtoItemTypeGoods + const UpdateItemDtoItemTypeService + type UsageBucketDto struct + BucketStart string + Count int64 + Credits int64 + type UsedCodeDto struct + Code string + Description *string + LastUsedAt string + UseCount float64 + type ValidateInvoiceBody = ValidateInvoiceDto + type ValidateInvoiceData = ValidationResultDto + type ValidateInvoiceDto struct + AccountingCost *string + AllowanceAmount *Amount + BuyerID *string + BuyerReference *string + ChargeAmount *Amount + Currency *string + DueDate *string + InvoiceDate *string + InvoiceID *string + InvoiceKind *string + InvoiceNumber *string + InvoiceType *ValidateInvoiceDtoInvoiceType + IssueTime *string + LineItems []ValidateLineItemDto + Notes *string + PaymentTerms *string + PurchaseOrderReference *string + SellerID *string + type ValidateInvoiceDtoInvoiceType string + const ValidateInvoiceDtoInvoiceTypeStandard + type ValidateLineItemDto struct + Description *string + DiscountAmount *Amount + FeeAmount *Amount + HSNCode *string + ISICCode *string + ItemID *string + ItemName *string + ProductCategory *string + Quantity Amount + ServiceCategory *string + TaxCategory *string + UnitCode *string + UnitPrice *Amount + type ValidationError struct + func (e *ValidationError) Unwrap() error + type ValidationFindingDto struct + Code string + Field *string + Message string + type ValidationResultDto struct + Errors []ValidationFindingDto + PreviewAuthorityReference *string + Valid bool + type VerifyBuyerTaxNumberData = BuyerVerificationRequestedDto + type VerifyOption func(*verifyOptions) + func WithNow(unix int64) VerifyOption + func WithTolerance(seconds int64) VerifyOption + type WebhookDeliveriesService struct + func (s *WebhookDeliveriesService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetWebhookDeliveryData, error) + func (s *WebhookDeliveriesService) List(ctx context.Context, query *ListWebhookDeliveriesQuery, opts ...RequestOption) (*Page[ListWebhookDeliveriesItem], error) + func (s *WebhookDeliveriesService) Redeliver(ctx context.Context, id string, opts ...RequestOption) (*RedeliverWebhookDeliveryData, error) + type WebhookDeliveryAttemptDto struct + AttemptNo float64 + DurationMs float64 + ErrorClass *WebhookDeliveryAttemptDtoErrorClass + HTTPStatus *int64 + Outcome WebhookDeliveryAttemptDtoOutcome + StartedAt string + type WebhookDeliveryAttemptDtoErrorClass string + const WebhookDeliveryAttemptDtoErrorClassDns + const WebhookDeliveryAttemptDtoErrorClassEgressRefused + const WebhookDeliveryAttemptDtoErrorClassGone + const WebhookDeliveryAttemptDtoErrorClassHTTPStatus + const WebhookDeliveryAttemptDtoErrorClassNetwork + const WebhookDeliveryAttemptDtoErrorClassRedirect + const WebhookDeliveryAttemptDtoErrorClassTimeout + const WebhookDeliveryAttemptDtoErrorClassTls + type WebhookDeliveryAttemptDtoOutcome string + const WebhookDeliveryAttemptDtoOutcomeOk + const WebhookDeliveryAttemptDtoOutcomePermanent + const WebhookDeliveryAttemptDtoOutcomeRefused + const WebhookDeliveryAttemptDtoOutcomeRetryable + const WebhookDeliveryAttemptDtoOutcomeTimeout + type WebhookDeliveryDetailDto struct + AttemptLog []WebhookDeliveryAttemptDto + Attempts float64 + CreatedAt string + DeliveredAt *string + EndpointID string + EventID string + FailedAt *string + FailureReason *WebhookDeliveryDetailDtoFailureReason + ID string + LastErrorClass *WebhookDeliveryDetailDtoLastErrorClass + LastHTTPStatus *int64 + MaxAttempts float64 + Mode WebhookDeliveryDetailDtoMode + NextAttemptAt *string + Status WebhookDeliveryDetailDtoStatus + Test bool + Type string + type WebhookDeliveryDetailDtoFailureReason string + const WebhookDeliveryDetailDtoFailureReasonAttemptsExhausted + const WebhookDeliveryDetailDtoFailureReasonEndpointDisabled + const WebhookDeliveryDetailDtoFailureReasonGone + const WebhookDeliveryDetailDtoFailureReasonURLRefused + type WebhookDeliveryDetailDtoLastErrorClass string + const WebhookDeliveryDetailDtoLastErrorClassDns + const WebhookDeliveryDetailDtoLastErrorClassEgressRefused + const WebhookDeliveryDetailDtoLastErrorClassGone + const WebhookDeliveryDetailDtoLastErrorClassHTTPStatus + const WebhookDeliveryDetailDtoLastErrorClassNetwork + const WebhookDeliveryDetailDtoLastErrorClassRedirect + const WebhookDeliveryDetailDtoLastErrorClassTimeout + const WebhookDeliveryDetailDtoLastErrorClassTls + type WebhookDeliveryDetailDtoMode string + const WebhookDeliveryDetailDtoModeLive + const WebhookDeliveryDetailDtoModeSandbox + type WebhookDeliveryDetailDtoStatus string + const WebhookDeliveryDetailDtoStatusDelivered + const WebhookDeliveryDetailDtoStatusDelivering + const WebhookDeliveryDetailDtoStatusFailed + const WebhookDeliveryDetailDtoStatusPending + const WebhookDeliveryDetailDtoStatusRetrying + type WebhookDeliveryDto struct + Attempts float64 + CreatedAt string + DeliveredAt *string + EndpointID string + EventID string + FailedAt *string + FailureReason *WebhookDeliveryDtoFailureReason + ID string + LastErrorClass *WebhookDeliveryDtoLastErrorClass + LastHTTPStatus *int64 + MaxAttempts float64 + Mode WebhookDeliveryDtoMode + NextAttemptAt *string + Status WebhookDeliveryDtoStatus + Test bool + Type string + type WebhookDeliveryDtoFailureReason string + const WebhookDeliveryDtoFailureReasonAttemptsExhausted + const WebhookDeliveryDtoFailureReasonEndpointDisabled + const WebhookDeliveryDtoFailureReasonGone + const WebhookDeliveryDtoFailureReasonURLRefused + type WebhookDeliveryDtoLastErrorClass string + const WebhookDeliveryDtoLastErrorClassDns + const WebhookDeliveryDtoLastErrorClassEgressRefused + const WebhookDeliveryDtoLastErrorClassGone + const WebhookDeliveryDtoLastErrorClassHTTPStatus + const WebhookDeliveryDtoLastErrorClassNetwork + const WebhookDeliveryDtoLastErrorClassRedirect + const WebhookDeliveryDtoLastErrorClassTimeout + const WebhookDeliveryDtoLastErrorClassTls + type WebhookDeliveryDtoMode string + const WebhookDeliveryDtoModeLive + const WebhookDeliveryDtoModeSandbox + type WebhookDeliveryDtoStatus string + const WebhookDeliveryDtoStatusDelivered + const WebhookDeliveryDtoStatusDelivering + const WebhookDeliveryDtoStatusFailed + const WebhookDeliveryDtoStatusPending + const WebhookDeliveryDtoStatusRetrying + type WebhookEndpointDto struct + ConsecutiveFailures float64 + CreatedAt string + Description *string + DisabledCause *WebhookEndpointDtoDisabledCause + Events []string + FailingSince *string + ID string + Mode WebhookEndpointDtoMode + PreviousSecretExpiresAt *string + ResolvedTypes []string + Status WebhookEndpointDtoStatus + URL string + UpdatedAt string + type WebhookEndpointDtoDisabledCause string + const WebhookEndpointDtoDisabledCauseConsecutiveFailures + const WebhookEndpointDtoDisabledCauseGone + const WebhookEndpointDtoDisabledCauseLiveAccessRevoked + const WebhookEndpointDtoDisabledCauseManual + type WebhookEndpointDtoMode string + const WebhookEndpointDtoModeLive + const WebhookEndpointDtoModeSandbox + type WebhookEndpointDtoStatus string + const WebhookEndpointDtoStatusDisabled + const WebhookEndpointDtoStatusEnabled + type WebhookEndpointsService struct + func (s *WebhookEndpointsService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetWebhookEndpointData, error) + func (s *WebhookEndpointsService) List(ctx context.Context, opts ...RequestOption) ([]ListWebhookEndpointsItem, error) + func (s *WebhookEndpointsService) Test(ctx context.Context, id string, params *TestWebhookEndpointBody, ...) (*TestWebhookEndpointData, error) + type WebhookError struct + Message string + func (e *WebhookError) Error() string + type WebhookEvent struct + CreatedAt string + Data json.RawMessage + ID string + Mode Mode + OrganizationID string + Test bool + Type WebhookEventType + Version int64 + func VerifyWebhook(payload []byte, headers HeaderGetter, secret string, opts ...VerifyOption) (*WebhookEvent, error) + func (e *WebhookEvent) DataMap() map[string]any + func (e *WebhookEvent) DecodeData(v any) error + type WebhookEventDto struct + CreatedAt string + Data map[string]any + ID string + MatchedEndpoints float64 + Mode *WebhookEventDtoMode + ReceivedAt string + Scope WebhookEventDtoScope + Test bool + Type string + Version float64 + type WebhookEventDtoMode string + const WebhookEventDtoModeLive + const WebhookEventDtoModeSandbox + type WebhookEventDtoScope string + const WebhookEventDtoScopeEndpoint + const WebhookEventDtoScopeLive + const WebhookEventDtoScopeMode + const WebhookEventDtoScopeOrganization + type WebhookEventType string + const WebhookEventAPIKeyCreated + const WebhookEventAPIKeyExpired + const WebhookEventAPIKeyExpiring + const WebhookEventAPIKeyFlagged + const WebhookEventAPIKeyRevoked + const WebhookEventAPIKeyRotated + const WebhookEventAPIKeyUpdated + const WebhookEventBillingBalanceLow + const WebhookEventBillingBalanceRecovered + const WebhookEventBillingChargeRefunded + const WebhookEventBillingChargeRefused + const WebhookEventBillingChargeSettled + const WebhookEventBillingCreditsAdjusted + const WebhookEventBillingCreditsExpired + const WebhookEventBillingCreditsGranted + const WebhookEventBillingCreditsTransferred + const WebhookEventBillingDebtRecorded + const WebhookEventBillingDebtSettled + const WebhookEventBillingHoldCaptured + const WebhookEventBillingHoldPlaced + const WebhookEventBillingHoldReleased + const WebhookEventBillingLowBalanceThresholdUpdated + const WebhookEventBillingPaymentDisputeResolved + const WebhookEventBillingPaymentDisputed + const WebhookEventBillingPaymentExpired + const WebhookEventBillingPaymentFailed + const WebhookEventBillingPaymentInitiated + const WebhookEventBillingPaymentRefunded + const WebhookEventBillingPaymentSucceeded + const WebhookEventBillingPoolDrawn + const WebhookEventBillingPoolPolicyUpdated + const WebhookEventBillingPoolReturned + const WebhookEventBillingStatementReady + const WebhookEventBillingSubscriptionActivated + const WebhookEventBillingSubscriptionCancelScheduled + const WebhookEventBillingSubscriptionCancelled + const WebhookEventBillingSubscriptionExpired + const WebhookEventBillingSubscriptionFreeAssigned + const WebhookEventBillingSubscriptionPlanChangeCancelled + const WebhookEventBillingSubscriptionPlanChangeScheduled + const WebhookEventBillingSubscriptionPlanChanged + const WebhookEventBillingSubscriptionRenewalDue + const WebhookEventBillingSubscriptionRenewalFailed + const WebhookEventBillingSubscriptionRenewed + const WebhookEventBillingSubscriptionResumed + const WebhookEventBillingSubscriptionTrialEnding + const WebhookEventBuyerCreated + const WebhookEventBuyerDeleted + const WebhookEventBuyerTaxIDVerificationFailed + const WebhookEventBuyerTaxIDVerificationUnavailable + const WebhookEventBuyerTaxIDVerified + const WebhookEventBuyerUpdated + const WebhookEventCollectionPaymentApplied + const WebhookEventCollectionPaymentReceived + const WebhookEventCollectionPaymentReconciled + const WebhookEventCollectionSettlementUpdated + const WebhookEventInvitationAccepted + const WebhookEventInvitationCreated + const WebhookEventInvitationExpired + const WebhookEventInvitationLocked + const WebhookEventInvitationResent + const WebhookEventInvitationWithdrawn + const WebhookEventInvoiceAccepted + const WebhookEventInvoiceBuyerDeliveryFailed + const WebhookEventInvoiceCancellationRequested + const WebhookEventInvoiceCancellationReverted + const WebhookEventInvoiceCancelled + const WebhookEventInvoiceCreated + const WebhookEventInvoiceDeleted + const WebhookEventInvoiceFinalised + const WebhookEventInvoiceParked + const WebhookEventInvoicePaymentStatusReportRefused + const WebhookEventInvoicePaymentStatusUpdated + const WebhookEventInvoiceReceived + const WebhookEventInvoiceRejected + const WebhookEventInvoiceReopened + const WebhookEventInvoiceRetryScheduled + const WebhookEventInvoiceSentToBuyer + const WebhookEventInvoiceSigned + const WebhookEventInvoiceSubmitted + const WebhookEventInvoiceTransmitted + const WebhookEventInvoiceUpdated + const WebhookEventMemberJoined + const WebhookEventMemberRemoved + const WebhookEventMemberRestored + const WebhookEventMemberRoleChanged + const WebhookEventMemberSuspended + const WebhookEventOrganizationChildCreated + const WebhookEventOrganizationClosed + const WebhookEventOrganizationLiveAccessApproved + const WebhookEventOrganizationLiveAccessRejected + const WebhookEventOrganizationLiveAccessRequested + const WebhookEventOrganizationLiveAccessRevoked + const WebhookEventOrganizationLogoChanged + const WebhookEventOrganizationOnboardingCompleted + const WebhookEventOrganizationOwnershipTransferred + const WebhookEventOrganizationPhoneVerified + const WebhookEventOrganizationTaxIDVerificationFailed + const WebhookEventOrganizationTaxIDVerificationUnavailable + const WebhookEventOrganizationTaxIDVerified + const WebhookEventOrganizationUpdated + const WebhookEventRoleCreated + const WebhookEventRoleDeleted + const WebhookEventRoleUpdated + const WebhookEventSellerCreated + const WebhookEventSellerDeleted + const WebhookEventSellerTaxIDVerificationFailed + const WebhookEventSellerTaxIDVerificationUnavailable + const WebhookEventSellerTaxIDVerified + const WebhookEventSellerUpdated + const WebhookEventTaxConnectionActionRequired + const WebhookEventTaxConnectionConnected + const WebhookEventTaxConnectionDisconnected + const WebhookEventTaxConnectionKeyExpired + const WebhookEventTaxConnectionKeyExpiring + const WebhookEventTaxConnectionKeyInstalled + const WebhookEventTaxConnectionSuspended + const WebhookEventWebhookEndpointCreated + const WebhookEventWebhookEndpointDeleted + const WebhookEventWebhookEndpointDisabled + const WebhookEventWebhookEndpointEnabled + const WebhookEventWebhookEndpointFailing + const WebhookEventWebhookEndpointFlagged + const WebhookEventWebhookEndpointPinged + const WebhookEventWebhookEndpointRecovered + const WebhookEventWebhookEndpointSecretRotated + const WebhookEventWebhookEndpointUpdated + type WebhookEventTypeDto struct + Family string + RequiredCapability string + Scope WebhookEventTypeDtoScope + Status WebhookEventTypeDtoStatus + Subscribable bool + Type string + Version float64 + type WebhookEventTypeDtoScope string + const WebhookEventTypeDtoScopeEndpoint + const WebhookEventTypeDtoScopeLive + const WebhookEventTypeDtoScopeMode + const WebhookEventTypeDtoScopeOrganization + type WebhookEventTypeDtoStatus string + const WebhookEventTypeDtoStatusAvailable + const WebhookEventTypeDtoStatusFuture + const WebhookEventTypeDtoStatusInvoice + const WebhookEventTypeDtoStatusPendingSource + type WebhookEventTypesService struct + func (s *WebhookEventTypesService) List(ctx context.Context, opts ...RequestOption) ([]ListWebhookEventTypesItem, error) + type WebhookEventsService struct + func (s *WebhookEventsService) Get(ctx context.Context, id string, opts ...RequestOption) (*GetWebhookEventData, error) + func (s *WebhookEventsService) List(ctx context.Context, query *ListWebhookEventsQuery, opts ...RequestOption) (*Page[ListWebhookEventsItem], error) + func (s *WebhookEventsService) Redeliver(ctx context.Context, id string, params *RedeliverWebhookEventBody, ...) (*RedeliverWebhookEventData, error) + type WebhookTestResultDto struct + DeliveryID string + EventID string + Test *bool + Type string + type WebhooksService struct + Deliveries *WebhookDeliveriesService + Endpoints *WebhookEndpointsService + EventTypes *WebhookEventTypesService + Events *WebhookEventsService