POST v1/customers/purchase/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Common.Dto.Post.CustomerPurchase| Name | Description | Type | Additional information |
|---|---|---|---|
| preview | boolean |
None. |
|
| temporarilyDisableAutoPost | boolean |
None. |
|
| invoiceCollectOptions | Common.Dto.Post.InvoiceCollectOptions |
None. |
|
| specificSubscriptionIds | Collection of integer |
None. |
|
| specificPurchaseIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"preview": true,
"temporarilyDisableAutoPost": true,
"invoiceCollectOptions": {
"paymentMethod": 0,
"paymentMethodId": 1,
"useAnyAvailableFundsFirst": true,
"rollbackOnFailedPayment": true,
"paymentIntentId": "sample string 3",
"uRLForSSP": "sample string 4"
},
"specificSubscriptionIds": [
1,
2
],
"specificPurchaseIds": [
1,
2
]
}
Response Information
Resource Description
Common.Dto.Get.CustomerPurchase| Name | Description | Type | Additional information |
|---|---|---|---|
| invoicePreview | Common.Dto.Get.InvoicePreview |
None. |
|
| additionalInvoicesForPreview | Collection of Common.Dto.Get.InvoicePreview |
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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+00:00",
"proratedUnitPrice": 1.0,
"startServiceDate": "2025-11-03T19:49:47.6540899+00:00",
"endServiceDate": "2025-11-03T19:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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:49:47.6540899+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
}
]
}