AmendmentMoneyEffect
A charge or credit the amendment adds to the order's next invoice, worked out as the billing run bills it: proration is the change in the charge's amount for one of its billing periods (at its own billing frequency, or the order's billingFrequencyOverride) times remainingDays over totalDaysInCycle, rounded to the nearest minor unit. For example, $100 more a month with 22 of November's 30 days left is an amountMinor of 7333 ($73.33), and $1,200 more a year with 100 of the year's 365 days left is 32877 ($328.77). A firstPeriodCharge is the added charge's amount for one of its periods prorated the same way for chargeStub: prorated, or that whole amount for chargeStub: full.
- amountType: integer
Minor min:0requiredThe amount, always positive (
kindsays which way). Integer minor units (cents for USD). - billingenumconst:inlinerequired
inline: billed as a line on the order's next invoice. - currencyType: stringrequired
- cycleType: stringFormat: date
End requiredThe first day of the charge's next billing period.
- cycleType: stringFormat: date
Start requiredThe first day of the charge's current billing period (for an added charge, the period it starts in).
- intentType: integer
Index requiredInteger numbers.
- kindType: "prorationCharge" or "prorationCredit" or "firstPeriodCharge"enumrequired
prorationCharge: a recurring or seat-based charge went up mid-period.prorationCredit: it went down or ended.firstPeriodCharge: an added charge'schargeStubfor the current period. - remainingType: integer
Days requiredDays from the effective date to
cycleEnd. - totalType: integer
Days In Cycle requiredDays in the charge's billing period. For the order's first period when it starts off its billing anchor (a short first period), the days in the full period that ends where it does.
- orderType: string
Line Attribute Id The charge, for proration.
- orderType: string
Line Id The charge's line, for proration.