AutoBill.update() and AutoBill.migrate() SOAP API methods (in releases 19.0 and higher) support this feature with two Data Members that govern this behavior for individual AutoBills.
specifiedBillingDay:an integer (1-31) specifying the day of the month on which to bill (values 29-31 automatically work as the last day of the month for calendar months that do not have 29, 30, or 31 days). Providing no value or null in this parameter instructs Subscribe to bill on the service period start date (the default).billingRule:an enumerated string value (AdvanceorArrears), informing Subscribe in which direction from the scheduled billing date to select the specified billing date. If nospecified_billing_dayis provided, this parameter is ignored.
startTimestamp of 2016-06-01, on a monthly billing plan, Subscribe would create a subscription that bills on the first of each month.If you wanted instead to bill in advance for this subscription on the 25th of each month, you would create it as shown in the following example.
specified_billing_day. Service Periods, Entitlement and the grace period are all calculated based on the Service Period dates. You establish these parameters at creation, using autobill.update(), and can modify them later, also using autobill.update()—you cannot change them using autobill.modify().
Parent topic:Modifying AutoBills
