POST v1/purchases/Purchase?preview={preview}&showZeroDollarCharges={showZeroDollarCharges}&temporarilyDisableAutoPost={temporarilyDisableAutoPost}&view={view}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| preview | boolean |
Default value is False |
|
| showZeroDollarCharges | boolean |
Default value is False |
|
| temporarilyDisableAutoPost | boolean |
Default value is False |
|
| view | string |
Default value is default |
Body Parameters
Common.Dto.Post.Purchases| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
None. |
|
| purchaseIds | Collection of integer |
None. |
|
| invoiceCollectOptions | Common.Dto.Post.InvoiceCollectOptions |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerId": 1,
"purchaseIds": [
1,
2
],
"invoiceCollectOptions": {
"paymentMethod": 0,
"paymentMethodId": 1,
"useAnyAvailableFundsFirst": true,
"rollbackOnFailedPayment": true,
"paymentIntentId": "sample string 3",
"uRLForSSP": "sample string 4"
}
}
Response Information
Resource Description
Common.Dto.Get.Purchases| Name | Description | Type | Additional information |
|---|---|---|---|
| invoicePreview | Common.Dto.Get.InvoicePreview |
None. |
|
| additionalInvoicesForPreview | Collection of Common.Dto.Get.InvoicePreview |
None. |
|
| sideEffects | Common.Dto.Get.SideEffects |
None. |
Response Formats
application/json, text/json
Sample:
{
"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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"endServiceDate": "2025-11-03T19:48:15.7577349+00:00",
"rangeQuantity": 1.0,
"draftDiscount": {
"draftChargeId": 1,
"configuredDiscountAmount": 2.0,
"amount": 3.0,
"quantity": 4.0,
"discountType": "sample string 5",
"effectiveTimestamp": "2025-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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-11-03T19:48:15.7577349+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": {}
}