POST v1/PurchaseProductItems
Request Information
URI Parameters
None.
Body Parameters
Common.Dto.Post.PurchaseProductItemName | Description | Type | Additional information |
---|---|---|---|
purchaseId | integer |
None. |
|
reference | string |
Required String length: inclusive between 0 and 255 |
|
name | string |
String length: inclusive between 0 and 100 |
|
description | string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
Sample:
{ "purchaseId": 1, "reference": "sample string 2", "name": "sample string 3", "description": "sample string 4" }
Response Information
Resource Description
Common.Dto.Get.AccountProductItemName | Description | Type | Additional information |
---|---|---|---|
reference | string |
None. |
|
name | string |
None. |
|
description | string |
None. |
|
subscriptionProductId | integer |
None. |
|
subscriptionId | integer |
None. |
|
purchaseId | integer |
None. |
|
customerId | integer |
None. |
|
productId | integer |
None. |
|
status | string |
None. |
|
createdDate | date |
None. |
|
modifiedDate | date |
None. |
|
invoicePreview | Common.Dto.Get.InvoicePreview |
None. |
|
additionalInvoicesForPreview | Collection of Common.Dto.Get.InvoicePreview |
None. |
|
netsuiteInventoryTimestamp | date |
None. |
|
netsuiteInventoryStatus | string |
None. |
|
id | integer |
None. |
|
uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "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-21T08:36:21.7045009+00:00", "modifiedDate": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "proratedUnitPrice": 1.0, "startServiceDate": "2025-05-21T08:36:21.7045009+00:00", "endServiceDate": "2025-05-21T08:36:21.7045009+00:00", "rangeQuantity": 1.0, "draftDiscount": { "draftChargeId": 1, "configuredDiscountAmount": 2.0, "amount": 3.0, "quantity": 4.0, "discountType": "sample string 5", "effectiveTimestamp": "2025-05-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+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-21T08:36:21.7045009+00:00", "netsuiteInventoryStatus": "sample string 9", "id": 10, "uri": "sample string 11" }