Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Customers

Customers

Customers

Archive a customer
client.V1.Customers.Archive(ctx, body) (*DataIDV1CustomerArchiveResponse, error)
post/v1/customers/archive
Create a customer
client.V1.Customers.New(ctx, body) (*DataCustomerV1CustomerNewResponse, error)
post/v1/customers
List customers
client.V1.Customers.List(ctx, query) (*CursorPage[IDstringCreatedAtTimeCustomFieldsmapCustomerConfigCustomerDetailCustomerConfigExternalIDstringIngestAliasesarrayNamestringArchivedAtTimeCurrentBillableStatusCustomerDetailCurrentBillableStatusCustomerDetail], error)
get/v1/customers
Get billable metrics for a customer
client.V1.Customers.ListBillableMetrics(ctx, params) (*CursorPage[IDstringNamestringAggregatestringAggregateKeysarrayAggregationKeystringAggregationTypeV1CustomerListBillableMetricsResponseAggregationTypeArchivedAtTimeCustomFieldsmapEventTypeFilterEventTypeFilterFiltermapGroupByarrayGroupKeysarrayPropertyFiltersarraySqlstringV1CustomerListBillableMetricsResponse], error)
get/v1/customers/{customer_id}/billable-metrics
Get customer costs
client.V1.Customers.ListCosts(ctx, params) (*CursorPage[CreditTypesmapEndTimestampTimeStartTimestampTimeV1CustomerListCostsResponse], error)
get/v1/customers/{customer_id}/costs
Preview events
client.V1.Customers.PreviewEvents(ctx, params) (*DataInvoiceV1CustomerPreviewEventsResponse, error)
post/v1/customers/{customer_id}/previewEvents
Get a customer
client.V1.Customers.Get(ctx, query) (*DataCustomerDetailV1CustomerGetResponse, error)
get/v1/customers/{customer_id}
Create or update customer ingest aliases
client.V1.Customers.SetIngestAliases(ctx, params) error
post/v1/customers/{customer_id}/setIngestAliases
Update a customer name
client.V1.Customers.SetName(ctx, params) (*DataCustomerV1CustomerSetNameResponse, error)
post/v1/customers/{customer_id}/setName
Update a customer configuration
client.V1.Customers.UpdateConfig(ctx, params) error
post/v1/customers/{customer_id}/updateConfig
Customer
Customerstruct
ShowShow
IDstring

the Metronome ID of the customer

formatuuid
ExternalIDstring

(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events

IngestAliasesarray
[]string

aliases for this customer that can be used instead of the Metronome customer ID in usage events

Namestring
CustomFieldsmap
optional
map[string, string]
Customer Detail
CustomerDetailstruct
ShowShow
IDstring

the Metronome ID of the customer

formatuuid
CreatedAtTime

RFC 3339 timestamp indicating when the customer was created.

formatdate-time
CustomFieldsmap
map[string, string]
CustomerConfigSalesforceAccountIDstringCustomerDetailCustomerConfig
Hide ParametersShow Parameters
SalesforceAccountIDstring

The Salesforce account ID for the customer

ExternalIDstring

(deprecated, use ingest_aliases instead) the first ID (Metronome or ingest alias) that can be used in usage events

IngestAliasesarray
[]string

aliases for this customer that can be used instead of the Metronome customer ID in usage events

Namestring
ArchivedAtTime
optional

RFC 3339 timestamp indicating when the customer was archived. Null if the customer is active.

formatdate-time

This field's availability is dependent on your client's configuration.

Hide ParametersShow Parameters
ValueCustomerDetailCurrentBillableStatusValueBillableCustomerDetailCurrentBillableStatusValueCustomerDetailCurrentBillableStatusValueUnbillableCustomerDetailCurrentBillableStatusValueCustomerDetailCurrentBillableStatusValue
Hide ParametersShow Parameters
CustomerDetailCurrentBillableStatusValueBillableconst
CustomerDetailCurrentBillableStatusValueBillableCustomerDetailCurrentBillableStatusValueCustomerDetailCurrentBillableStatusValueUnbillableCustomerDetailCurrentBillableStatusValueCustomerDetailCurrentBillableStatusValue
"billable"
CustomerDetailCurrentBillableStatusValueUnbillableconst
CustomerDetailCurrentBillableStatusValueBillableCustomerDetailCurrentBillableStatusValueCustomerDetailCurrentBillableStatusValueUnbillableCustomerDetailCurrentBillableStatusValueCustomerDetailCurrentBillableStatusValue
"unbillable"
EffectiveAtTime
optional
formatdate-time

CustomersAlerts

List customer alerts
client.V1.Customers.Alerts.List(ctx, params) (*DataarrayNextPagestringV1CustomerAlertListResponse, error)
post/v1/customer-alerts/list
Reset an alert for a customer
client.V1.Customers.Alerts.Reset(ctx, body) error
post/v1/customer-alerts/reset
Get an alert
client.V1.Customers.Alerts.Get(ctx, body) (*DataCustomerAlertV1CustomerAlertGetResponse, error)
post/v1/customer-alerts/get
Customer Alert
CustomerAlertstruct
ShowShow
AlertIDstringNamestringStatusCustomerAlertAlertStatusThresholdfloat64TypeCustomerAlertAlertTypeUpdatedAtTimeCreditGrantTypeFiltersarrayCreditTypeCreditTypeDataCustomFieldFiltersarrayGroupKeyFilterCustomerAlertAlertGroupKeyFilterGroupValuesarrayInvoiceTypesFilterarrayUniquenessKeystringCustomerAlertAlert
Hide ParametersShow Parameters
IDstring

the Metronome ID of the alert

Namestring

Name of the alert

StatusCustomerAlertAlertStatusEnabledCustomerAlertAlertStatusCustomerAlertAlertStatusArchivedCustomerAlertAlertStatusCustomerAlertAlertStatusDisabledCustomerAlertAlertStatusCustomerAlertAlertStatus

Status of the alert

Hide ParametersShow Parameters
CustomerAlertAlertStatusEnabledconst
CustomerAlertAlertStatusEnabledCustomerAlertAlertStatusCustomerAlertAlertStatusArchivedCustomerAlertAlertStatusCustomerAlertAlertStatusDisabledCustomerAlertAlertStatusCustomerAlertAlertStatus
"enabled"
CustomerAlertAlertStatusArchivedconst
CustomerAlertAlertStatusEnabledCustomerAlertAlertStatusCustomerAlertAlertStatusArchivedCustomerAlertAlertStatusCustomerAlertAlertStatusDisabledCustomerAlertAlertStatusCustomerAlertAlertStatus
"archived"
CustomerAlertAlertStatusDisabledconst
CustomerAlertAlertStatusEnabledCustomerAlertAlertStatusCustomerAlertAlertStatusArchivedCustomerAlertAlertStatusCustomerAlertAlertStatusDisabledCustomerAlertAlertStatusCustomerAlertAlertStatus
"disabled"
Thresholdfloat64

Threshold value of the alert policy

TypeCustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType

Type of the alert

Hide ParametersShow Parameters
CustomerAlertAlertTypeLowCreditBalanceReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_credit_balance_reached"
CustomerAlertAlertTypeSpendThresholdReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"spend_threshold_reached"
CustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"monthly_invoice_total_spend_threshold_reached"
CustomerAlertAlertTypeLowRemainingDaysInPlanReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_days_in_plan_reached"
CustomerAlertAlertTypeLowRemainingCreditPercentageReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_credit_percentage_reached"
CustomerAlertAlertTypeUsageThresholdReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"usage_threshold_reached"
CustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_days_for_commit_segment_reached"
CustomerAlertAlertTypeLowRemainingCommitBalanceReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_commit_balance_reached"
CustomerAlertAlertTypeLowRemainingCommitPercentageReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_commit_percentage_reached"
CustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_days_for_contract_credit_segment_reached"
CustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_contract_credit_balance_reached"
CustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_contract_credit_percentage_reached"
CustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"low_remaining_contract_credit_and_commit_balance_reached"
CustomerAlertAlertTypeInvoiceTotalReachedconst
CustomerAlertAlertTypeLowCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeMonthlyInvoiceTotalSpendThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysInPlanReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeUsageThresholdReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForCommitSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingCommitPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingDaysForContractCreditSegmentReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditPercentageReachedCustomerAlertAlertTypeCustomerAlertAlertTypeLowRemainingContractCreditAndCommitBalanceReachedCustomerAlertAlertTypeCustomerAlertAlertTypeInvoiceTotalReachedCustomerAlertAlertTypeCustomerAlertAlertType
"invoice_total_reached"
UpdatedAtTime

Timestamp for when the alert was last updated

formatdate-time
CreditGrantTypeFiltersarray
optional
[]string

An array of strings, representing a way to filter the credit grant this alert applies to, by looking at the credit_grant_type field on the credit grant. This field is only defined for CreditPercentage and CreditBalance alerts

CreditTypeIDstringNamestringCreditTypeData
optional
CustomFieldFiltersarray
optional

A list of custom field filters for alert types that support advanced filtering

Hide ParametersShow Parameters
EntityCustomerAlertAlertCustomFieldFiltersEntityContractCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityCommitCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityContractCreditCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntity
Hide ParametersShow Parameters
CustomerAlertAlertCustomFieldFiltersEntityContractconst
CustomerAlertAlertCustomFieldFiltersEntityContractCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityCommitCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityContractCreditCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntity
"Contract"
CustomerAlertAlertCustomFieldFiltersEntityCommitconst
CustomerAlertAlertCustomFieldFiltersEntityContractCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityCommitCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityContractCreditCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntity
"Commit"
CustomerAlertAlertCustomFieldFiltersEntityContractCreditconst
CustomerAlertAlertCustomFieldFiltersEntityContractCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityCommitCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntityContractCreditCustomerAlertAlertCustomFieldFiltersEntityCustomerAlertAlertCustomFieldFiltersEntity
"ContractCredit"
Keystring
Valuestring
GroupKeyFilterKeystringValuestringCustomerAlertAlertGroupKeyFilter
optional

Scopes alert evaluation to a specific presentation group key on individual line items. Only present for spend alerts.

Hide ParametersShow Parameters
Keystring
Valuestring
GroupValuesarray
optional

Only present for spend_threshold_reached alerts. Scope alert to a specific group key on individual line items.

Hide ParametersShow Parameters
Keystring
Valuestring
InvoiceTypesFilterarray
optional
[]string

Only supported for invoice_total_reached alerts. A list of invoice types to evaluate.

UniquenessKeystring
optional

Prevents the creation of duplicates. If a request to create a record is made with a previously used uniqueness key, a new record will not be created and the request will fail with a 409 error.

minLength1
maxLength128
CustomerStatusCustomerAlertCustomerStatusOkCustomerAlertCustomerStatusCustomerAlertCustomerStatusInAlarmCustomerAlertCustomerStatusCustomerAlertCustomerStatusEvaluatingCustomerAlertCustomerStatusCustomerAlertCustomerStatus

The status of the customer alert. If the alert is archived, null will be returned.

Hide ParametersShow Parameters
CustomerAlertCustomerStatusOkconst
CustomerAlertCustomerStatusOkCustomerAlertCustomerStatusCustomerAlertCustomerStatusInAlarmCustomerAlertCustomerStatusCustomerAlertCustomerStatusEvaluatingCustomerAlertCustomerStatusCustomerAlertCustomerStatus
"ok"
CustomerAlertCustomerStatusInAlarmconst
CustomerAlertCustomerStatusOkCustomerAlertCustomerStatusCustomerAlertCustomerStatusInAlarmCustomerAlertCustomerStatusCustomerAlertCustomerStatusEvaluatingCustomerAlertCustomerStatusCustomerAlertCustomerStatus
"in_alarm"
CustomerAlertCustomerStatusEvaluatingconst
CustomerAlertCustomerStatusOkCustomerAlertCustomerStatusCustomerAlertCustomerStatusInAlarmCustomerAlertCustomerStatusCustomerAlertCustomerStatusEvaluatingCustomerAlertCustomerStatusCustomerAlertCustomerStatus
"evaluating"
TriggeredBystring
optional

If present, indicates the reason the alert was triggered.

CustomersBilling Config

Set a customer billing configuration
client.V1.Customers.BillingConfig.New(ctx, params) error
post/v1/customers/{customer_id}/billing-config/{billing_provider_type}
Delete a customer billing configuration
client.V1.Customers.BillingConfig.Delete(ctx, body) error
delete/v1/customers/{customer_id}/billing-config/{billing_provider_type}
Get a customer billing configuration
client.V1.Customers.BillingConfig.Get(ctx, query) (*DataV1CustomerBillingConfigGetResponseDataV1CustomerBillingConfigGetResponse, error)
get/v1/customers/{customer_id}/billing-config/{billing_provider_type}

CustomersCommits

Create a commit
client.V1.Customers.Commits.New(ctx, body) (*DataIDV1CustomerCommitNewResponse, error)
post/v1/contracts/customerCommits/create
List commits
client.V1.Customers.Commits.List(ctx, body) (*DataarrayNextPagestringV1CustomerCommitListResponse, error)
post/v1/contracts/customerCommits/list
Update the commit end date
client.V1.Customers.Commits.UpdateEndDate(ctx, body) (*DataIDV1CustomerCommitUpdateEndDateResponse, error)
post/v1/contracts/customerCommits/updateEndDate

CustomersCredits

Create a credit
client.V1.Customers.Credits.New(ctx, body) (*DataIDV1CustomerCreditNewResponse, error)
post/v1/contracts/customerCredits/create
List credits
client.V1.Customers.Credits.List(ctx, body) (*DataarrayNextPagestringV1CustomerCreditListResponse, error)
post/v1/contracts/customerCredits/list
Update the credit end date
client.V1.Customers.Credits.UpdateEndDate(ctx, body) (*DataIDV1CustomerCreditUpdateEndDateResponse, error)
post/v1/contracts/customerCredits/updateEndDate

CustomersInvoices

Add a one time charge
client.V1.Customers.Invoices.AddCharge(ctx, params) (*V1CustomerInvoiceAddChargeResponse, error)
post/v1/customers/{customer_id}/addCharge
List invoices
client.V1.Customers.Invoices.List(ctx, params) (*CursorPage[IDstringCreditTypeCreditTypeDataCustomerIDstringLineItemsarrayStatusstringTotalfloat64TypestringAmendmentIDstringBillableStatusInvoiceBillableStatusContractCustomFieldsmapContractIDstringCorrectionRecordInvoiceCorrectionRecordCreatedAtTimeCustomFieldsmapCustomerCustomFieldsmapEndTimestampTimeExternalInvoiceInvoiceExternalInvoiceInvoiceAdjustmentsarrayIssuedAtTimeNetPaymentTermsDaysfloat64NetsuiteSalesOrderIDstringPlanCustomFieldsmapPlanIDstringPlanNamestringResellerRoyaltyInvoiceResellerRoyaltySalesforceOpportunityIDstringStartTimestampTimeSubtotalfloat64Invoice], error)
get/v1/customers/{customer_id}/invoices
List invoice breakdowns
client.V1.Customers.Invoices.ListBreakdowns(ctx, params) (*CursorPage[BreakdownEndTimestampTimeBreakdownStartTimestampTimeV1CustomerInvoiceListBreakdownsResponse], error)
get/v1/customers/{customer_id}/invoices/breakdowns
Get an invoice
client.V1.Customers.Invoices.Get(ctx, params) (*DataInvoiceV1CustomerInvoiceGetResponse, error)
get/v1/customers/{customer_id}/invoices/{invoice_id}
Invoice
Invoicestruct
ShowShow
IDstring
formatuuid
CreditTypeIDstringNamestringCreditTypeData
CustomerIDstring
formatuuid
LineItemsarray
Hide ParametersShow Parameters
CreditTypeIDstringNamestringCreditTypeData
Namestring
Totalfloat64

Details about the credit or commit that was applied to this line item. Only present on line items with product of USAGE, SUBSCRIPTION or COMPOSITE types.

Hide ParametersShow Parameters
IDstring
formatuuid
TypeInvoiceLineItemsAppliedCommitOrCreditTypePrepaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypePostpaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypeCreditInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditType
Hide ParametersShow Parameters
InvoiceLineItemsAppliedCommitOrCreditTypePrepaidconst
InvoiceLineItemsAppliedCommitOrCreditTypePrepaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypePostpaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypeCreditInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditType
"PREPAID"
InvoiceLineItemsAppliedCommitOrCreditTypePostpaidconst
InvoiceLineItemsAppliedCommitOrCreditTypePrepaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypePostpaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypeCreditInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditType
"POSTPAID"
InvoiceLineItemsAppliedCommitOrCreditTypeCreditconst
InvoiceLineItemsAppliedCommitOrCreditTypePrepaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypePostpaidInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditTypeCreditInvoiceLineItemsAppliedCommitOrCreditTypeInvoiceLineItemsAppliedCommitOrCreditType
"CREDIT"
CommitCustomFieldsmap
optional
map[string, string]
CommitIDstring
optional

For line items with product of USAGE, SUBSCRIPTION, or COMPOSITE types, the ID of the credit or commit that was applied to this line item. For line items with product type of FIXED, the ID of the prepaid or postpaid commit that is being paid for.

formatuuid
CommitNetsuiteItemIDstring
optional
CommitNetsuiteSalesOrderIDstring
optional
CommitSegmentIDstring
optional
formatuuid
CommitTypestring
optional

PrepaidCommit (for commit types PREPAID and CREDIT) or PostpaidCommit (for commit type POSTPAID).

CustomFieldsmap
optional
map[string, string]
DiscountCustomFieldsmap
optional
map[string, string]
DiscountIDstring
optional

ID of the discount applied to this line item.

formatuuid
EndingBeforeTime
optional

The line item's end date (exclusive).

formatdate-time
GroupKeystring
optional
GroupValuestring
optional
IsProratedbool
optional

Indicates whether the line item is prorated for SUBSCRIPTION type product.

ListPriceRateTypeRateRateTypeCreditTypeCreditTypeDataCustomRatemapIsProratedboolPricefloat64PricingGroupValuesmapQuantityfloat64TiersarrayUseListPricesboolRate
optional

Only present for contract invoices and when the include_list_prices query parameter is set to true. This will include the list rate for the charge if applicable. Only present for usage and subscription line items.

Metadatastring
optional
NetsuiteInvoiceBillingEndTime
optional

The end date for the billing period on the invoice.

formatdate-time
NetsuiteInvoiceBillingStartTime
optional

The start date for the billing period on the invoice.

formatdate-time
NetsuiteItemIDstring
optional
PostpaidCommitIDstringInvoiceLineItemsPostpaidCommit
optional

Only present for line items paying for a postpaid commit true-up.

Hide ParametersShow Parameters
IDstring
formatuuid
PresentationGroupValuesmap
optional
map[string, string]

Includes the presentation group values associated with this line item if presentation group keys are used.

PricingGroupValuesmap
optional
map[string, string]

Includes the pricing group values associated with this line item if dimensional pricing is used.

ProductCustomFieldsmap
optional
map[string, string]
ProductIDstring
optional

ID of the product associated with the line item.

formatuuid
ProductTagsarray
optional
[]string

The current product tags associated with the line item's product_id.

ProductTypestring
optional

The type of the line item's product. Possible values are FixedProductListItem (for FIXED type products), UsageProductListItem (for USAGE type products), SubscriptionProductListItem (for SUBSCRIPTION type products) or CompositeProductListItem (for COMPOSITE type products). For scheduled charges, commit and credit payments, the value is FixedProductListItem.

ProfessionalServiceCustomFieldsmap
optional
map[string, string]
ProfessionalServiceIDstring
optional
formatuuid
Quantityfloat64
optional

The quantity associated with the line item.

ResellerTypeInvoiceLineItemsResellerTypeAwsInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeAwsProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerType
optional
Hide ParametersShow Parameters
InvoiceLineItemsResellerTypeAwsconst
InvoiceLineItemsResellerTypeAwsInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeAwsProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerType
"AWS"
InvoiceLineItemsResellerTypeAwsProServiceconst
InvoiceLineItemsResellerTypeAwsInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeAwsProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerType
"AWS_PRO_SERVICE"
InvoiceLineItemsResellerTypeGcpconst
InvoiceLineItemsResellerTypeAwsInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeAwsProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerType
"GCP"
InvoiceLineItemsResellerTypeGcpProServiceconst
InvoiceLineItemsResellerTypeAwsInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeAwsProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpInvoiceLineItemsResellerTypeInvoiceLineItemsResellerTypeGcpProServiceInvoiceLineItemsResellerTypeInvoiceLineItemsResellerType
"GCP_PRO_SERVICE"
ScheduledChargeCustomFieldsmap
optional
map[string, string]
ScheduledChargeIDstring
optional

ID of scheduled charge.

formatuuid
StartingAtTime
optional

The line item's start date (inclusive).

formatdate-time
SubLineItemsarray
optional
Hide ParametersShow Parameters
CustomFieldsmap
map[string, string]
Namestring
Quantityfloat64
Subtotalfloat64
ChargeIDstring
optional
formatuuid
CreditGrantIDstring
optional
formatuuid
EndDateTime
optional

The end date for the charge (for seats charges only).

formatdate-time
Pricefloat64
optional

the unit price for this charge, present only if the charge is not tiered and the quantity is nonzero

StartDateTime
optional

The start date for the charge (for seats charges only).

formatdate-time
TierPeriodStartingAtTimeEndingBeforeTimeInvoiceLineItemsSubLineItemsTierPeriod
optional

when the current tier started and ends (for tiered charges only)

Hide ParametersShow Parameters
StartingAtTime
formatdate-time
EndingBeforeTime
optional
formatdate-time
Hide ParametersShow Parameters
Pricefloat64
Quantityfloat64
StartingAtfloat64

at what metric amount this tier begins

Subtotalfloat64
SubscriptionCustomFieldsmap
optional
map[string, string]
TierLevelfloat64StartingAtstringSizestringInvoiceLineItemsTier
optional

Populated if the line item has a tiered price.

Hide ParametersShow Parameters
Levelfloat64
StartingAtstring
Sizestring
optional
UnitPricefloat64
optional

The unit price associated with the line item.

Statusstring
Totalfloat64
Typestring
AmendmentIDstring
optional
formatuuid
BillableStatusInvoiceBillableStatusBillableInvoiceBillableStatusInvoiceBillableStatusUnbillableInvoiceBillableStatusInvoiceBillableStatus
optional

This field's availability is dependent on your client's configuration.

Hide ParametersShow Parameters
InvoiceBillableStatusBillableconst
InvoiceBillableStatusBillableInvoiceBillableStatusInvoiceBillableStatusUnbillableInvoiceBillableStatusInvoiceBillableStatus
"billable"
InvoiceBillableStatusUnbillableconst
InvoiceBillableStatusBillableInvoiceBillableStatusInvoiceBillableStatusUnbillableInvoiceBillableStatusInvoiceBillableStatus
"unbillable"
ContractCustomFieldsmap
optional
map[string, string]
ContractIDstring
optional
formatuuid
CorrectionRecordCorrectedInvoiceIDstringMemostringReasonstringCorrectedExternalInvoiceInvoiceCorrectionRecordCorrectedExternalInvoiceInvoiceCorrectionRecord
optional
Hide ParametersShow Parameters
CorrectedInvoiceIDstring
formatuuid
Memostring
Reasonstring
Hide ParametersShow Parameters
BillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
Hide ParametersShow Parameters
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"aws_marketplace"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"stripe"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"netsuite"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"custom"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"azure_marketplace"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"quickbooks_online"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"workday"
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceconst
InvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeStripeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeNetsuiteInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeCustomInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeWorkdayInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderTypeInvoiceCorrectionRecordCorrectedExternalInvoiceBillingProviderType
"gcp_marketplace"
ExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
optional
Hide ParametersShow Parameters
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"DRAFT"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"FINALIZED"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"PAID"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"UNCOLLECTIBLE"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"VOID"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"DELETED"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"PAYMENT_FAILED"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"INVALID_REQUEST_ERROR"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"SKIPPED"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"SENT"
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedconst
InvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDraftInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusFinalizedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusUncollectibleInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusVoidInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusDeletedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusPaymentFailedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvalidRequestErrorInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSkippedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusSentInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusQueuedInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatusInvoiceCorrectionRecordCorrectedExternalInvoiceExternalStatus
"QUEUED"
InvoiceIDstring
optional
IssuedAtTimestampTime
optional
formatdate-time
CreatedAtTime
optional

When the invoice was created (UTC). This field is present for correction invoices only.

formatdate-time
CustomFieldsmap
optional
map[string, unknown]
CustomerCustomFieldsmap
optional
map[string, string]
EndTimestampTime
optional

End of the usage period this invoice covers (UTC)

formatdate-time
ExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeExternalStatusInvoiceExternalInvoiceExternalStatusInvoiceIDstringIssuedAtTimestampTimeInvoiceExternalInvoice
optional
Hide ParametersShow Parameters
BillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
Hide ParametersShow Parameters
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"aws_marketplace"
InvoiceExternalInvoiceBillingProviderTypeStripeconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"stripe"
InvoiceExternalInvoiceBillingProviderTypeNetsuiteconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"netsuite"
InvoiceExternalInvoiceBillingProviderTypeCustomconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"custom"
InvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"azure_marketplace"
InvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"quickbooks_online"
InvoiceExternalInvoiceBillingProviderTypeWorkdayconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"workday"
InvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceconst
InvoiceExternalInvoiceBillingProviderTypeAwsMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeStripeInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeNetsuiteInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeCustomInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeAzureMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeQuickbooksOnlineInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeWorkdayInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderTypeGcpMarketplaceInvoiceExternalInvoiceBillingProviderTypeInvoiceExternalInvoiceBillingProviderType
"gcp_marketplace"
ExternalStatusInvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
optional
Hide ParametersShow Parameters
InvoiceExternalInvoiceExternalStatusDraftconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"DRAFT"
InvoiceExternalInvoiceExternalStatusFinalizedconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"FINALIZED"
InvoiceExternalInvoiceExternalStatusPaidconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"PAID"
InvoiceExternalInvoiceExternalStatusUncollectibleconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"UNCOLLECTIBLE"
InvoiceExternalInvoiceExternalStatusVoidconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"VOID"
InvoiceExternalInvoiceExternalStatusDeletedconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"DELETED"
InvoiceExternalInvoiceExternalStatusPaymentFailedconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"PAYMENT_FAILED"
InvoiceExternalInvoiceExternalStatusInvalidRequestErrorconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"INVALID_REQUEST_ERROR"
InvoiceExternalInvoiceExternalStatusSkippedconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"SKIPPED"
InvoiceExternalInvoiceExternalStatusSentconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"SENT"
InvoiceExternalInvoiceExternalStatusQueuedconst
InvoiceExternalInvoiceExternalStatusDraftInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusFinalizedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusUncollectibleInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusVoidInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusDeletedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusPaymentFailedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusInvalidRequestErrorInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSkippedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusSentInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatusQueuedInvoiceExternalInvoiceExternalStatusInvoiceExternalInvoiceExternalStatus
"QUEUED"
InvoiceIDstring
optional
IssuedAtTimestampTime
optional
formatdate-time
InvoiceAdjustmentsarray
optional
Hide ParametersShow Parameters
CreditTypeIDstringNamestringCreditTypeData
Namestring
Totalfloat64
CreditGrantCustomFieldsmap
optional
map[string, string]
CreditGrantIDstring
optional
IssuedAtTime
optional

When the invoice was issued (UTC)

formatdate-time
NetPaymentTermsDaysfloat64
optional
NetsuiteSalesOrderIDstring
optional

This field's availability is dependent on your client's configuration.

PlanCustomFieldsmap
optional
map[string, string]
PlanIDstring
optional
formatuuid
PlanNamestring
optional
ResellerRoyaltyFractionstringNetsuiteResellerIDstringResellerTypeInvoiceResellerRoyaltyResellerTypeAwsOptionsInvoiceResellerRoyaltyAwsOptionsGcpOptionsInvoiceResellerRoyaltyGcpOptionsInvoiceResellerRoyalty
optional

Only present for contract invoices with reseller royalties.

Hide ParametersShow Parameters
Fractionstring
NetsuiteResellerIDstring
ResellerTypeInvoiceResellerRoyaltyResellerTypeAwsInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeAwsProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerType
Hide ParametersShow Parameters
InvoiceResellerRoyaltyResellerTypeAwsconst
InvoiceResellerRoyaltyResellerTypeAwsInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeAwsProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerType
"AWS"
InvoiceResellerRoyaltyResellerTypeAwsProServiceconst
InvoiceResellerRoyaltyResellerTypeAwsInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeAwsProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerType
"AWS_PRO_SERVICE"
InvoiceResellerRoyaltyResellerTypeGcpconst
InvoiceResellerRoyaltyResellerTypeAwsInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeAwsProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerType
"GCP"
InvoiceResellerRoyaltyResellerTypeGcpProServiceconst
InvoiceResellerRoyaltyResellerTypeAwsInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeAwsProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerTypeGcpProServiceInvoiceResellerRoyaltyResellerTypeInvoiceResellerRoyaltyResellerType
"GCP_PRO_SERVICE"
AwsOptionsAwsAccountNumberstringAwsOfferIDstringAwsPayerReferenceIDstringInvoiceResellerRoyaltyAwsOptions
optional
Hide ParametersShow Parameters
AwsAccountNumberstring
optional
AwsOfferIDstring
optional
AwsPayerReferenceIDstring
optional
GcpOptionsGcpAccountIDstringGcpOfferIDstringInvoiceResellerRoyaltyGcpOptions
optional
Hide ParametersShow Parameters
GcpAccountIDstring
optional
GcpOfferIDstring
optional
SalesforceOpportunityIDstring
optional

This field's availability is dependent on your client's configuration.

StartTimestampTime
optional

Beginning of the usage period this invoice covers (UTC)

formatdate-time
Subtotalfloat64
optional

CustomersNamed Schedules

Get a customer's named schedule
client.V1.Customers.NamedSchedules.Get(ctx, body) (*DataarrayV1CustomerNamedScheduleGetResponse, error)
post/v1/customers/getNamedSchedule
Update a customer's named schedule
client.V1.Customers.NamedSchedules.Update(ctx, body) error
post/v1/customers/updateNamedSchedule

CustomersPlans

Add a plan to a customer
client.V1.Customers.Plans.Add(ctx, params) (*DataIDV1CustomerPlanAddResponse, error)
post/v1/customers/{customer_id}/plans/add
End a customer plan
client.V1.Customers.Plans.End(ctx, params) (*V1CustomerPlanEndResponse, error)
post/v1/customers/{customer_id}/plans/{customer_plan_id}/end
List customer plans
client.V1.Customers.Plans.List(ctx, params) (*CursorPage[IDstringCustomFieldsmapPlanDescriptionstringPlanIDstringPlanNamestringStartingOnTimeEndingBeforeTimeNetPaymentTermsDaysfloat64TrialInfoV1CustomerPlanListResponseTrialInfoV1CustomerPlanListResponse], error)
get/v1/customers/{customer_id}/plans
Get the plan adjustments for a customer
client.V1.Customers.Plans.ListPriceAdjustments(ctx, params) (*CursorPage[ChargeIDstringChargeTypeV1CustomerPlanListPriceAdjustmentsResponseChargeTypePricesarrayStartPeriodfloat64Quantityfloat64V1CustomerPlanListPriceAdjustmentsResponse], error)
get/v1/customers/{customer_id}/plans/{customer_plan_id}/priceAdjustments