Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (10 loc) · 2.01 KB

File metadata and controls

14 lines (10 loc) · 2.01 KB

InvoiceRecalculationRequest

Properties

Name Type Description Notes
created datetime { "description" : "The UTC DateTime when the object was created.", "verbs":[] } [optional]
recalculation_behaviour str {&quot;default&quot;:&quot;RecalculateAsLatestSubscriptionVersion&quot;,&quot;description&quot;:&quot;On plan change a subscription may have outstanding invoices.If the value of the invoice needs to be changed it can either be calculated via the new or old plan. <span class=\&quot;label label-default\&quot;>RecalculateAsLatestSubscriptionVersion</span> calculates as the original plan and <span class=\&quot;label label-default\&quot;>RecalculateAsCurrentSubscriptionVersion</span> as the new plan&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]}
new_state str {&quot;default&quot;:&quot;Pending&quot;,&quot;description&quot;:&quot;State of the invoice once recalculated&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]}
only_invoice_associated_charges bool {&quot;default&quot;:true,&quot;description&quot;:&quot;Only include charges which are already associated with the invoice. For example the subscription may have pending charges which can be added to the invoice on recalculation by setting this value to false. Note settings this value to true may cause new invoice line itemsto the invoice&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [default to False]
dry_run bool {&quot;default&quot;:&quot;false&quot;,&quot;description&quot;:&quot;Calculate the invoice but do not store or attempt payment&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [default to False]

[Back to Model list] [Back to API list] [Back to README]