DuplicateRevenueItemInput
A single service line in the duplication payload.
Same shape as RevenueItemInput (the create-service body), with two
differences: contract_id is optional and ignored — the server assigns the
new contract's id — and custom_field_values carries the revenue-item-level
custom column values (rifd- fields) so they survive the re-create. Without
that map, custom values would be silently dropped even on unmodified lines,
because the duplicate re-creates each item from the payload rather than
copying the source row server-side. Service dates arrive final from the
client (any shift-dates edits already applied); the server persists them
as-is.
- autoType: boolean
Renewal Auto renewal flag
- billingType: stringFormat: date-timenullable
End Date Billing end date
- billingType: stringFormat: date-timenullable
Start Date Billing start date
- contractType: stringnullable
Id Ignored on duplicate — the server assigns the new contract's id
- customType: integernullable
Billing Frequency Custom billing frequency
- customType: integernullable
Duration Custom duration
- customType: Customfieldvaluesnullable
Field Values Properties: 1Revenue-item custom field values, keyed by field id (rifd-...)
- customType: stringFormat: date-timenullable
Opt Out Date Custom opt out date
- customType: integernullable
Service Duration Custom service duration
- dealType: stringnullable
Id Deal ID — auto-populated from the parent contract on create; any client-supplied value is ignored
- discountType: numbernullable
Amount Discount amount
- eqType: integernullable
Payments Billing Frequency Equal payments billing frequency
- eqType: integernullable
Payments Num Of Payments Equal payments number of payments
- isType: booleannullable
Discount Percentage Is discount percentage flag
- itemType: integernullable
Order Display order index (0-based)
- priceType: numbernullable
Per Unit Price per unit in the contract's local currency — negative on a discount or credit line
- quantityType: numbernullable
Quantity — fractional allowed, negative for a downsell
- scheduledType: array of RevenueItemsScheduledPaymentInputnullable
Payments Properties: 4Scheduled payments for this revenue item
- serviceType: stringFormat: date-timenullable
End Date Service end date
- serviceType: stringnullable
Item Id Service item ID
- serviceType: stringnullable
Item Name Service item name
- serviceType: stringnullable
Item Pricing Id Service item pricing ID
- serviceType: stringFormat: date-timenullable
Start Date Service start date
- totalType: numbernullable
Total amount — negative on a downsell line
- totalType: numbernullable
Local Total amount in local currency — negative on a downsell line

