Update Customer Billing Settings

Override the default customer billing settings for a specific customer. Recommended Request: It is recommended that the invoiceDay field either be omitted or the value set to null for the PUT method. Use Read Customer Billing Settings to get a starting payload to modify.

Request Parameters

PropertyTypeDescription
idIntegerUnique customer ID for the billing settings you want to update.
invoiceDaynullDeprecated. Omit this field or set it to null for PUT requests.
termEnum: {Net0, Net5, Net7, Net10, Net15, Net21, Net30, Net45, Net60, Net75, Net90, MFI1, DayOfMonth1, DayOfMonth2, DayOfMonth3, ... DayOfMonth29, DayOfMonth30, DayOfMonth31}Defines the payment terms for this customer.
intervalnullDeprecated. Omit this field or set it to null for PUT requests.
autoCollectBoolean or nullControls whether the billing system attempts to collect from the customer’s payment method on file. null uses the account-level default.
autoCollectSettingTypeEnum: {CurrentInvoice, OutstandingBalance, Threshold}Defines the auto-collect behavior when autoCollect is enabled.
dunningExemptBooleanControls whether this customer is exempt from your account’s dunning management settings.
rechargeTypeStringSet this to BringBalanceBackTo when using threshold billing.
rechargeThresholdAmountIntegerAmount that triggers a threshold collection when the customer balance drops below this value.
rechargeTargetAmountCurrencyTarget balance to restore when threshold billing is triggered.
statusOnThresholdBooleanControls whether the customer enters poor standing if the threshold recharge payment fails.
autoPostDraftInvoiceBoolean or nullControls whether draft invoices are automatically posted for this customer. null uses the account-level default.
customerGracePeriodIntegerNumber of days the customer can remain in poor standing before the account is suspended.
gracePeriodExtensionIntegerAdditional number of days added to the customer’s grace period.
customerAutoCancelIntegerNumber of days after suspension before the customer is automatically cancelled.
defaultCancelOptionEnum: {Full, None, Unearned}Controls revenue recognition if the customer is automatically cancelled.
standingPoNumberStringPO number added to this customer’s invoices.
billingPeriodConfigurationsArray of objectsBilling period configuration overrides for this customer. See Billing Period Configuration Object Fields.
acquisitionCostDecimalCost in dollars spent to acquire this customer.
showZeroDollarChargesBoolean or nullControls whether $0 charges appear on this customer’s invoices. null uses the account-level default.
taxExemptBooleanControls whether this customer is charged taxes.
taxExemptCodeStringTax exemption code for this customer. Required if taxExempt is true.
useCustomerBillingAddressBoolean or nullControls whether billing or shipping address is used for taxation. null uses the account-level default.
avalaraUsageTypeStringString sent to Avalara to determine how sales taxes are applied.
vatIdentificationNumberIntegerCustomer’s EU VAT identification number.
customerServiceStartOptionStringControls how the system behaves if a suspended customer is returned to active status after successful auto-collection.
rollUpTaxesBooleanControls whether taxes appear as one rolled-up line or as separate tax lines on invoices.
rollUpDiscountsBooleanControls whether discounts are rolled up into a single invoice line item.
rollUpPdfsByPlanProductBooleanControls whether downloaded invoices show summarized or detailed subscription product charges.
invoiceSummarizationBooleanControls invoice summarization behavior for this customer.
invoiceSummarizationOptionStringInvoice summarization option value for this customer.
rollUpPdfsDisplayNameBooleanControls whether plan names are displayed on summarized invoices.
rollUpPdfsDisplayDescriptionBooleanControls whether plan descriptions are displayed on summarized invoices.
rollUpPdfsDisplayAllUnitPricesBooleanControls whether all unit prices are displayed on summarized invoices.
pdfInvoiceEmailAttachmentOptionEnum: {Details, Summary, Both}Controls how subscription charges are displayed on emailed invoices.
invoiceSummarizationFollowAccountDefaultsBooleanControls whether invoice summarization follows the account-level default.
trackedItemDisplayObjectControls how tracked items appear on invoices for this customer. See Tracked Item Display Object Fields.
customerBillingStatementSettingObjectControls billing statement settings for this customer. See Customer Billing Statement Setting Object Fields.
postReadyChargesOnRenewBoolean or nullControls whether ready draft charges are posted on renewal. null uses the account-level default.
autoAllocateToOverdueInvoicesBoolean or nullControls whether unallocated funds on the customer's account are automatically applied to overdue invoices. null uses the account-level default.
HierarchySuspendOptionStringHierarchy suspension option for this customer.
selfServicePortalCreditCardBoolean or nullControls whether this customer can add a credit card in the self-service portal. null uses the account-level default.
selfServicePortalACHBoolean or nullControls whether this customer can add an ACH payment method in the self-service portal. null uses the account-level default.
autoAllocateToOverdueInvoicesBoolean or nullControls whether unallocated funds on the customer's account are automatically applied to overdue invoices. null uses the account-level default.

Billing Period Configuration Object Fields

PropertyTypeDescription
typeEnum:{SpecifiedDate, CustomerActivation, FirstSubscriptionActivation}Controls when subscriptions of the configured interval are recharged
ruleEnum:{SingleInvoice, MultipleInvoices, OneInvoicePerDay, Prompt}Controls how to invoice. Single Invoice compiles subscriptions of the given interval on one invoice. Multiple Invoices separates them as one invoice per subscription. One Invoice Per Day posts an invoice every day. Prompt requires an agent to approve it each time.
intervalEnum:{Yearly, Monthly}Indicates which type of billing period this configuration applies to.
dayInteger (1-31)The day of the month to recharge. Use only if type is "SpecifiedDate"
monthInteger (1-12)The month of the year to recharge. Use only if type is "SpecifiedDate" and interval is "Yearly"

Tracked Item Display Object Fields

PropertyTypeDescription
trackedItemDisplayFormatEnum:{Inline, SeperatePage}Controls where the tracked items are displayed.
showTrackedItemNameBooleanThis controls if the tracked items names are displayed.
showTrackedItemReferenceBooleanThis controls if the tracked items' reference are displayed.
showTrackedItemDescriptionBooleanThis controls if the tracked items' description are displayed.
showTrackedItemCreatedDateBooleanThis controls if tracked items' created dates are displayed.

Customer Billing Statement Setting Object Fields

PropertyTypeDescription
optionEnum:{Detailed, BySubscription, Summarized}Controls how the statement is generated.
typeEnum:{CustomerAnniversary, SpecifiedDate}The basis for when statements are generated
intervalEnum:{Monthly, Yearly}Controls frequency of statement generation.
dayIntegerThe day of the month to generate the statement if type is "SpecifiedDate"
monthIntegerThe month of the year to generate the statement if type is "SpecifiedDate" and interval is "Yearly".
trackedItemDisplayObject (defined above)Controls how tracked items are displayed on the statement.
statementActivityTypeEnum: {OnlyParentActivity, OnlyChildActivity, ParentAndChildActivity}Controls which activities to generate if customer hierarchy is being used.
Path Params
int32
required

Unique id of the customer object.

Body Params
int32
required

Unique id of the customer object.

string
enum

Deprecated field. Set/keep this as null or do not include it in payload.

Allowed:
string
enum

This defines the Payment Terms for this Customer.

Allowed:
string
enum

Deprecated field. Set/keep this as null or do not include it in payload.

Allowed:
boolean

This defines whether the billing system will attempt to collect from the customer's payment method on file. The global auto collect setting is used by default and by setting this field explicitly on the Customer the setting can be overridden for this Customer. This setting can only be explicitly set to True if the customer has a Payment Method, such as a credit card of ACH account, on file. If set to true then when charges are applied to the Customer the billing system will attempt to collect them in full form the default payment method on file. If set to false the billing system will not collect automatically. If set to null then the billing system will use the global auto collect setting.

string
enum

When auto collect is set to on, this defines the type of auto collect. CurrentInvoice, OutstandingBalance, or Threshold are acceptable valid strings that can be used to set auto collect behaviour.

Allowed:
boolean

Controls whether this customer is exempt from your account's Dunning management settings. Dunning management settings control how and when Fusebill will automatically try to collect the outstanding balance of customers in poor standing. Relevant only for customers subject to auto collect.

string
enum

Only set this to BringBalanceBackTo when setting autoCollectSettingType to Threshold

Allowed:
float

This is the value which triggers a threshold collection. If the customer balance drops below this number when an invoice is posted the system will automatically collect enough funds to bring the balance back to the rechargeTargetAmount.

boolean

This setting determines if the customer should enter poor standing if their balance dips below the set threshold and the payment to restore the balance fails.

boolean

This defines whether the billing system will attempt to automatically post draft Invoices against the Customer's account. The global autoPostDraftInvoice setting is used by default and by setting this field explicitly on the Customer the setting can be overridden for this Customer. If set to true then when an Invoice is generated in Draft status the Invoice will be automatically converted to a Posted invoice and the charges from the Invoice will be applied to the Customer. If set to false the billing system will not post the Invoices automatically. If set to NULL then the billing system will use the global autoPostDraftInvoice setting.

int32

This filed defines the number of days that the Customer is allowed to be in a PoorStanding status before the system will automatically place the Customer account in a Suspended state. Customer's enter PoorStanding when one or more Invoices go unpaid and enter an Overdue status.

int32

This filed defines the number of days that the Customer is allowed to be in a PoorStanding status before the system will automatically place the Customer account in a Suspended state. Customer's enter PoorStanding when one or more Invoices go unpaid and enter an Overdue status.

int32

The number of days after suspension before the customer is cancelled by the system.

string
enum

Controls revenue recognition in the event of customer automatic cancellation. "Full" means to reverse all charges fully. "None" means earn all charges. "Unearned" means to reverse unearned amounts for all charges. NULL means to follow the default of the Stax Bill account.

Allowed:
string
billingPeriodConfigurations
array
billingPeriodConfigurations
float
boolean
boolean
string
boolean
string
string
string
boolean
boolean
boolean
string
boolean
boolean
boolean
string
boolean
trackedItemDisplay
object
boolean
string
boolean
enum

Effectively adds or removes customer ability to add their own credit card through the hosted self-service portal. Overrides the self-service portal setting for displaying input fields to allow a customer to add a credit card payment method through the self-service portal.
A null value (default) will use the portal settings default.
A true value will always show the credit card inputs from the customer in the self-service portal.
A false value will always hide the credit card inputs from the customer in the self-service portal.

Allowed:
boolean
enum

Effectively adds or removes customer ability to add their own ACH/EFT (bank account) payment method through the hosted self-service portal.
Overrides the self-service portal setting for displaying input fields to allow a customer to add an ACH payment method through the self-service portal.
A null value (default) will use the portal settings default.
A true value will always show the ACH inputs from the customer in the self-service portal.
A false value will always hide the ACH inputs from the customer in the self-service portal.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json