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

Latest commit

 

History

History
15 lines (12 loc) · 2.85 KB

SingleRecalculateChargeRequest.md

File metadata and controls

15 lines (12 loc) · 2.85 KB

Bfwd::SingleRecalculateChargeRequest

Properties

Name Type Description Notes
id String {"description":"The unique id of the charge to be recalculated.","verbs":["POST","GET"]}
name String {"description":"New friendly name given to the charge to help identify it.","verbs":["POST","GET"]} [optional]
description String {"description":"New description given to the charge.","verbs":["POST","GET"]} [optional]
amount Float {&quot;description&quot;:&quot;(Applicable only if the existing charge has none of [`pricingComponentName`, `pricingComponentID`] defined)<br>New monetary amount for which to charge. Used only for ad-hoc charges (i.e charges not associated with any pricing component).<br>This amount excludes tax.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
invoicing_type String {&quot;default&quot;:&quot;<span class=\&quot;label label-default\&quot;>Aggregated</span>&quot;,&quot;description&quot;:&quot;The strategy for how to raise invoices describing the charges produced by this charge recalculation.<br><span class=\&quot;label label-default\&quot;>Immediate</span> &mdash; Generate straight-away an invoice containing these charges.<br><span class=\&quot;label label-default\&quot;>Aggregated</span> &mdash; Add these charges to the next invoice which is generated naturally &mdash; i.e. the invoice raised at the current period's end.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
pricing_component_value Integer {&quot;description&quot;:&quot;(Applicable only if the existing charge has any of [`pricingComponentName`, `pricingComponentID`] defined)<br>The updated value consumed of the pricing component which this charge concerns.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]} [optional]
recalculation_behaviour String {&quot;default&quot;:&quot;RecalculateWithLatestPricing&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;GET&quot;]}
organization_id String {&quot;default&quot;:&quot;(Auto-populated using your authentication credentials) ID of the organization actioning this request.&quot;,&quot;description&quot;:&quot;ID of the BillForward Organization within which the requested pricing component should be created. If omitted: this will be auto-populated using your authentication credentials.&quot;,&quot;verbs&quot;:[&quot;POST&quot;]} [optional]