POST v1/Earnings/ManualEarn?preview={preview}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
preview | boolean |
Required |
Body Parameters
Common.Dto.Post.ManualEarnName | Description | Type | Additional information |
---|---|---|---|
earnAmount | decimal number |
Matching regular expression pattern: ^\d*.?\d{0,2}?$ |
|
chargeId | integer |
None. |
|
earningOption | string |
None. |
|
reference | string |
Required String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{ "earnAmount": 1.0, "chargeId": 1, "earningOption": "sample string 2", "reference": "sample string 3" }
Response Information
Resource Description
Common.Dto.Get.ChargeName | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
None. |
|
invoiceId | integer |
None. |
|
invoiceNumber | integer |
None. |
|
quantity | decimal number |
None. |
|
unitPrice | decimal number |
None. |
|
amount | decimal number |
None. |
|
name | string |
None. |
|
description | string |
None. |
|
earnings | Collection of Common.Dto.Get.Earning |
None. |
|
earningSchedules | Collection of Common.Dto.Get.EarningSchedule |
None. |
|
earningDiscountSchedules | Collection of Common.Dto.Get.EarningDiscountSchedule |
None. |
|
earningsByMonth | Collection of Common.Dto.Get.EarningByMonth |
None. |
|
discountsByMonth | Collection of Common.Dto.Get.EarningByMonth |
None. |
|
reverseCharges | Collection of Common.Dto.Get.ReverseCharge |
None. |
|
transactionType | string |
None. |
|
effectiveTimestamp | date |
None. |
|
proratedUnitPrice | decimal number |
None. |
|
startServiceDate | date |
None. |
|
endServiceDate | date |
None. |
|
rangeQuantity | decimal number |
None. |
|
productName | string |
None. |
|
productCode | string |
None. |
|
discounts | Collection of Common.Dto.Get.Discount |
None. |
|
taxes | Collection of Common.Dto.Get.Tax |
None. |
|
glCode | string |
None. |
|
subscription | Common.Dto.Get.SubscriptionLite |
None. |
|
purchase | Common.Dto.Get.Purchase |
None. |
|
ChargeReversals | Collection of Common.Dto.Get.ChargeReversal |
None. |
|
earningDetails | Common.Dto.Get.EarningDetails |
None. |
|
aggregatedTotals | Common.Dto.Get.AggregatedTotals |
None. |
|
milestonesRemaining | integer |
None. |
|
quickBooksClassId | string |
None. |
|
id | integer |
None. |
|
uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "customerId": 1, "invoiceId": 2, "invoiceNumber": 1, "quantity": 3.0, "unitPrice": 4.0, "amount": 5.0, "name": "sample string 6", "description": "sample string 7", "earnings": [ { "amount": 1.0, "description": "sample string 2", "customerId": 3, "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "reference": "sample string 5", "id": 6, "uri": "sample string 7" }, { "amount": 1.0, "description": "sample string 2", "customerId": 3, "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "reference": "sample string 5", "id": 6, "uri": "sample string 7" } ], "earningSchedules": [ { "chargeId": 1, "scheduledType": "sample string 2", "scheduledAmount": 3.0, "scheduledTimestamp": "2025-05-21T09:01:05.0366475+00:00", "reference": "sample string 4", "id": 5, "uri": "sample string 6" }, { "chargeId": 1, "scheduledType": "sample string 2", "scheduledAmount": 3.0, "scheduledTimestamp": "2025-05-21T09:01:05.0366475+00:00", "reference": "sample string 4", "id": 5, "uri": "sample string 6" } ], "earningDiscountSchedules": [ { "earningScheduleId": 1, "chargeId": 2, "scheduledType": "sample string 3", "scheduledAmount": 4.0, "scheduledTimestamp": "2025-05-21T09:01:05.0366475+00:00", "reference": "sample string 5", "id": 6, "uri": "sample string 7" }, { "earningScheduleId": 1, "chargeId": 2, "scheduledType": "sample string 3", "scheduledAmount": 4.0, "scheduledTimestamp": "2025-05-21T09:01:05.0366475+00:00", "reference": "sample string 5", "id": 6, "uri": "sample string 7" } ], "earningsByMonth": [ { "performanceObligation": "sample string 1", "monthAndYear": "sample string 2", "deferredRevenue": 3.0, "earnedRevenue": 4.0, "effectiveDate": "2025-05-21T09:01:05.0366475+00:00" }, { "performanceObligation": "sample string 1", "monthAndYear": "sample string 2", "deferredRevenue": 3.0, "earnedRevenue": 4.0, "effectiveDate": "2025-05-21T09:01:05.0366475+00:00" } ], "discountsByMonth": [ { "performanceObligation": "sample string 1", "monthAndYear": "sample string 2", "deferredRevenue": 3.0, "earnedRevenue": 4.0, "effectiveDate": "2025-05-21T09:01:05.0366475+00:00" }, { "performanceObligation": "sample string 1", "monthAndYear": "sample string 2", "deferredRevenue": 3.0, "earnedRevenue": 4.0, "effectiveDate": "2025-05-21T09:01:05.0366475+00:00" } ], "reverseCharges": [ { "reference": "sample string 1", "amount": 2.0, "originalChargeId": 3, "reverseChargePreview": { "chargeAmount": 1.0, "discountAmount": 1.0, "taxAmount": 1.0, "netChargeAmount": 2.0, "netInvoiceAmount": 3.0, "outstandingBalance": 4.0, "reversalAmountWarningFlag": true, "milestonesRemaining": 6 }, "quickBooksId": 1, "quickBooksAttemptNumber": 4, "id": 5, "uri": "sample string 6" }, { "reference": "sample string 1", "amount": 2.0, "originalChargeId": 3, "reverseChargePreview": { "chargeAmount": 1.0, "discountAmount": 1.0, "taxAmount": 1.0, "netChargeAmount": 2.0, "netInvoiceAmount": 3.0, "outstandingBalance": 4.0, "reversalAmountWarningFlag": true, "milestonesRemaining": 6 }, "quickBooksId": 1, "quickBooksAttemptNumber": 4, "id": 5, "uri": "sample string 6" } ], "transactionType": "sample string 8", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "productName": "sample string 10", "productCode": "sample string 11", "discounts": [ { "configuredDiscountAmount": 1.0, "amount": 2.0, "quantity": 3.0, "unearnedAmount": 4.0, "remainingReversalAmount": 5.0, "discountType": "sample string 6", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "configuredDiscountAmount": 1.0, "amount": 2.0, "quantity": 3.0, "unearnedAmount": 4.0, "remainingReversalAmount": 5.0, "discountType": "sample string 6", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "taxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "glCode": "sample string 12", "subscription": { "id": 1, "customerId": 2, "planName": "sample string 3", "planDescription": "sample string 4", "planCode": "sample string 5", "reference": "sample string 6", "subscriptionProducts": [ { "id": 1, "productCode": "sample string 2", "productName": "sample string 3", "isIncluded": true, "price": 5.0, "priceOverride": { "chargeAmount": 1.0, "priceRanges": [ { "min": 1.0, "max": 1.0, "price": 2.0 }, { "min": 1.0, "max": 1.0, "price": 2.0 } ], "pricingModelType": "sample string 2", "id": 3, "uri": "sample string 4" }, "discount": { "discountType": "sample string 1", "amount": 2.0, "remainingUsagesUntilStart": 3, "remainingUsage": 1, "id": 4, "uri": "sample string 5" }, "customFields": [ { "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} }, { "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} } ] }, { "id": 1, "productCode": "sample string 2", "productName": "sample string 3", "isIncluded": true, "price": 5.0, "priceOverride": { "chargeAmount": 1.0, "priceRanges": [ { "min": 1.0, "max": 1.0, "price": 2.0 }, { "min": 1.0, "max": 1.0, "price": 2.0 } ], "pricingModelType": "sample string 2", "id": 3, "uri": "sample string 4" }, "discount": { "discountType": "sample string 1", "amount": 2.0, "remainingUsagesUntilStart": 3, "remainingUsage": 1, "id": 4, "uri": "sample string 5" }, "customFields": [ { "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} }, { "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} } ] } ] }, "purchase": { "customerId": 1, "code": "sample string 2", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "taxableAmount": 4.0, "modifiedTimestamp": "2025-05-21T09:01:05.0366475+00:00", "salesforceId": "sample string 6", "netsuiteClassId": "sample string 7", "netsuiteLocationId": "sample string 8", "netsuiteInventoryStatus": "sample string 9", "netsuiteInventoryStatusCounts": { "sample string 1": 2, "sample string 3": 4 }, "netsuiteInventoryBeingChecked": true, "lastNetSuiteInventoryCheckTimestamp": "2025-05-21T09:01:05.0366475+00:00", "netSuiteInventoryCheckStartTimestamp": "2025-05-21T09:01:05.0366475+00:00", "netsuiteBinId": "sample string 11", "invoiceOwner": "sample string 12", "invoiceOwnerId": 13, "postedChargeId": 1, "quickBooksClassId": "sample string 14", "productId": 15, "name": "sample string 16", "amount": 17.0, "description": "sample string 18", "status": "sample string 19", "quantity": 20.0, "targetOrderQuantity": 1.0, "isTrackingItems": true, "pricingModelType": "sample string 22", "pricingFormulaType": "sample string 23", "customFields": [ { "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} }, { "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} } ], "discounts": [ { "purchaseId": 1, "discountType": "sample string 2", "amount": 3.0, "id": 4, "uri": "sample string 5" }, { "purchaseId": 1, "discountType": "sample string 2", "amount": 3.0, "id": 4, "uri": "sample string 5" } ], "priceRanges": [ { "min": 1.0, "max": 1.0, "amount": 2.0, "conditionAmount": 1.0, "variableAmount": 1.0, "conditionAmountDays": 1 }, { "min": 1.0, "max": 1.0, "amount": 2.0, "conditionAmount": 1.0, "variableAmount": 1.0, "conditionAmountDays": 1 } ], "productItems": [ { "reference": "sample string 1", "name": "sample string 2", "description": "sample string 3", "subscriptionProductId": 1, "subscriptionId": 1, "purchaseId": 1, "customerId": 4, "productId": 5, "status": "sample string 6", "createdDate": "2025-05-21T09:01:05.0366475+00:00", "modifiedDate": "2025-05-21T09:01:05.0366475+00:00", "invoicePreview": { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 }, "additionalInvoicesForPreview": [ { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 }, { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 } ], "netsuiteInventoryTimestamp": "2025-05-21T09:01:05.0366475+00:00", "netsuiteInventoryStatus": "sample string 9", "id": 10, "uri": "sample string 11" }, { "reference": "sample string 1", "name": "sample string 2", "description": "sample string 3", "subscriptionProductId": 1, "subscriptionId": 1, "purchaseId": 1, "customerId": 4, "productId": 5, "status": "sample string 6", "createdDate": "2025-05-21T09:01:05.0366475+00:00", "modifiedDate": "2025-05-21T09:01:05.0366475+00:00", "invoicePreview": { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 }, "additionalInvoicesForPreview": [ { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 }, { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 } ], "netsuiteInventoryTimestamp": "2025-05-21T09:01:05.0366475+00:00", "netsuiteInventoryStatus": "sample string 9", "id": 10, "uri": "sample string 11" } ], "couponCodes": [ "sample string 1", "sample string 2" ], "earningSettings": { "earningInterval": "sample string 1", "earningNumberOfIntervals": 1, "earningTimingInterval": "sample string 2", "earningTimingType": "sample string 3", "earningSchedules": [ { "scheduledInterval": "sample string 1", "numberOfIntervals": 1, "scheduledAmount": 1.0, "reference": "sample string 2", "discountSchedules": [ { "scheduledInterval": "sample string 1", "numberOfIntervals": 1, "scheduledAmount": 1.0, "reference": "sample string 2" }, { "scheduledInterval": "sample string 1", "numberOfIntervals": 1, "scheduledAmount": 1.0, "reference": "sample string 2" } ], "scheduledType": "sample string 3", "id": 4, "uri": "sample string 5" }, { "scheduledInterval": "sample string 1", "numberOfIntervals": 1, "scheduledAmount": 1.0, "reference": "sample string 2", "discountSchedules": [ { "scheduledInterval": "sample string 1", "numberOfIntervals": 1, "scheduledAmount": 1.0, "reference": "sample string 2" }, { "scheduledInterval": "sample string 1", "numberOfIntervals": 1, "scheduledAmount": 1.0, "reference": "sample string 2" } ], "scheduledType": "sample string 3", "id": 4, "uri": "sample string 5" } ] }, "invoicePreview": { "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ], "subtotal": 1.0, "total": 2.0, "draftTaxes": [ { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 } ], "tax": { "id": 1, "name": "sample string 1", "registrationCode": "sample string 2", "percent": 3.0, "percentFormatted": "sample string 4", "total": 5.0 }, "totalTaxes": 3.0, "totalDiscount": 4.0, "poNumber": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "status": "sample string 7", "draftChargeGroups": [ { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] }, { "name": "sample string 1", "description": "sample string 2", "reference": "sample string 3", "subscriptionId": 1, "draftCharges": [ { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" }, { "transactionId": 1, "chargeTypeId": "sample string 2", "transactionType": "sample string 3", "quantity": 4.0, "unitPrice": 5.0, "amount": 6.0, "taxableAmount": 7.0, "subscriptionPeriodId": 8, "draftInvoiceId": 9, "name": "sample string 10", "description": "sample string 11", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T09:01:05.0366475+00:00", "endServiceDate": "2025-05-21T09:01:05.0366475+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, "draftDiscounts": [ { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" }, { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "description": "sample string 7", "id": 8, "uri": "sample string 9" } ], "status": "sample string 15", "productItems": null, "canProrateCharge": true, "postable": true, "subscriptionProductId": 1, "purchaseId": 1, "productId": 1, "draftChargeTiers": [ { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 }, { "label": "sample string 1", "quantity": 2.0, "unitPrice": 3.0, "amount": 4.0, "sortOrder": 5 } ], "hasPurchasePerformanceObligations": true, "id": 19, "uri": "sample string 20" } ] } ], "notes": "sample string 8", "shippingInstructions": "sample string 9", "openingArBalance": 10.0, "closingArBalance": 11.0, "creditFromAvailableFunds": 12.0 }, "sideEffects": {}, "id": 24, "uri": "sample string 25" }, "ChargeReversals": [ { "id": 1, "transactionType": "sample string 2", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "amount": 4.0, "creditNoteId": 5, "creditNoteNumber": "sample string 6", "trigger": "sample string 7", "triggeringUserId": 1, "triggeringUsername": "sample string 8", "quickBooksId": 1, "quickBooksAttemptNumber": 9 }, { "id": 1, "transactionType": "sample string 2", "effectiveTimestamp": "2025-05-21T09:01:05.0366475+00:00", "amount": 4.0, "creditNoteId": 5, "creditNoteNumber": "sample string 6", "trigger": "sample string 7", "triggeringUserId": 1, "triggeringUsername": "sample string 8", "quickBooksId": 1, "quickBooksAttemptNumber": 9 } ], "earningDetails": { "earningStartDate": "2025-05-21T09:01:05.0366475+00:00", "earningEndDate": "2025-05-21T09:01:05.0366475+00:00", "earningTimingInterval": "sample string 3", "earningTimingType": "sample string 4", "isEarnImmediately": true, "earningObligationType": "sample string 6", "chargeLastEarning": { "earningId": 1, "createdTimestamp": "2025-05-21T09:01:05.0366475+00:00", "modifiedTimestamp": "2025-05-21T09:01:05.0366475+00:00", "nextEarningTimestamp": "2025-05-21T09:01:05.0366475+00:00", "earningCompletedTimestamp": "2025-05-21T09:01:05.0366475+00:00", "earningIntervals": 1, "earningIntervalsPast": 2, "id": 3, "uri": "sample string 4" }, "id": 7, "uri": "sample string 8" }, "aggregatedTotals": { "unearnedAmount": 1.0, "earnedAmount": 2.0, "unearnedDiscountAmount": 3.0, "earnedDiscountAmount": 4.0, "remainingReverseAmount": 5.0, "reversedAmount": 6.0, "reversedDiscountAmount": 7.0, "reversedTaxAmount": 8.0, "reversedNetAmount": 9.0, "taxableAmount": 10.0, "totalTaxes": 11.0, "totalDiscounts": 12.0, "scheduledEarningAmount": 13.0, "scheduledEarningDiscountAmount": 14.0, "totalRemainingReversibleTax": 1.0, "totalRemainingReversibleDiscount": 1.0, "id": 15, "uri": "sample string 16" }, "milestonesRemaining": 2, "quickBooksClassId": "sample string 13", "id": 14, "uri": "sample string 15" }