POST v1/Purchases?preview={preview}&view={view}&currency={currency}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
preview

boolean

Default value is False

view

string

Default value is default

currency

string

Default value is default

Body Parameters

Common.Dto.Post.Purchase
NameDescriptionTypeAdditional information
customerId

integer

None.

taxationAddress

Common.Dto.Post.AddressBase

None.

productId

integer

Range: inclusive between 1 and 9.22337203685478E+18

quantity

decimal number

Range: inclusive between 1E-06 and 9.22337203685478E+18

name

string

Required

String length: inclusive between 0 and 2000

description

string

String length: inclusive between 0 and 2000

overridePriceRanges

Collection of Common.Dto.Post.PurchasePriceRange

None.

pricingModelType

string

String length: inclusive between 0 and 10

pricingFormulaType

string

None.

customFields

Collection of Common.Dto.Post.PurchaseCustomField

None.

discounts

Collection of Common.Dto.Post.BasePurchaseDiscount

None.

productItems

Collection of Common.Dto.Post.BasePurchaseProductItem

None.

couponCodes

Collection of string

None.

earningSettings

Common.Dto.Post.PurchaseEarningTiming

None.

netsuiteClassId

string

None.

netsuiteLocationId

string

None.

targetOrderQuantity

decimal number

Range: inclusive between 1E-06 and 9.22337203685478E+18

netsuiteBinId

string

None.

invoiceOwner

string

None.

skipCouponValidation

boolean

None.

hubspotDealId

integer

None.

quickBooksClassId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerId": 1,
  "taxationAddress": {
    "companyName": "sample string 1",
    "line1": "sample string 2",
    "line2": "sample string 3",
    "city": "sample string 4",
    "postalZip": "sample string 5",
    "country": "sample string 6",
    "state": "sample string 7",
    "countryId": 1,
    "stateId": 1
  },
  "productId": 2,
  "quantity": 1.0,
  "name": "sample string 3",
  "description": "sample string 4",
  "overridePriceRanges": [
    {
      "min": 1.0,
      "max": 1.0,
      "amount": 2.0
    },
    {
      "min": 1.0,
      "max": 1.0,
      "amount": 2.0
    }
  ],
  "pricingModelType": "sample string 5",
  "pricingFormulaType": "sample string 6",
  "customFields": [
    {
      "key": "sample string 1",
      "value": {}
    },
    {
      "key": "sample string 1",
      "value": {}
    }
  ],
  "discounts": [
    {
      "discountType": "sample string 1",
      "amount": 2.0
    },
    {
      "discountType": "sample string 1",
      "amount": 2.0
    }
  ],
  "productItems": [
    {
      "reference": "sample string 1",
      "name": "sample string 2",
      "description": "sample string 3"
    },
    {
      "reference": "sample string 1",
      "name": "sample string 2",
      "description": "sample string 3"
    }
  ],
  "couponCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "earningSettings": {
    "earningSchedules": [
      {
        "scheduledType": "sample string 1",
        "scheduledInterval": "sample string 2",
        "numberOfIntervals": 1,
        "scheduledAmount": 1.0,
        "reference": "sample string 3"
      },
      {
        "scheduledType": "sample string 1",
        "scheduledInterval": "sample string 2",
        "numberOfIntervals": 1,
        "scheduledAmount": 1.0,
        "reference": "sample string 3"
      }
    ],
    "earningInterval": "sample string 1",
    "earningNumberOfIntervals": 1,
    "earningTimingInterval": "sample string 2",
    "earningTimingType": "sample string 3"
  },
  "netsuiteClassId": "sample string 7",
  "netsuiteLocationId": "sample string 8",
  "targetOrderQuantity": 1.0,
  "netsuiteBinId": "sample string 9",
  "invoiceOwner": "sample string 10",
  "skipCouponValidation": true,
  "hubspotDealId": 12,
  "quickBooksClassId": "sample string 13"
}

Response Information

Resource Description

Common.Dto.Get.Purchase
NameDescriptionTypeAdditional information
customerId

integer

None.

code

string

None.

effectiveTimestamp

date

None.

taxableAmount

decimal number

None.

modifiedTimestamp

date

None.

salesforceId

string

None.

netsuiteClassId

string

None.

netsuiteLocationId

string

None.

netsuiteInventoryStatus

string

None.

netsuiteInventoryStatusCounts

Dictionary of string [key] and integer [value]

None.

netsuiteInventoryBeingChecked

boolean

None.

lastNetSuiteInventoryCheckTimestamp

date

None.

netSuiteInventoryCheckStartTimestamp

date

None.

netsuiteBinId

string

None.

invoiceOwner

string

None.

invoiceOwnerId

integer

None.

postedChargeId

integer

None.

quickBooksClassId

string

None.

productId

integer

None.

name

string

None.

amount

decimal number

None.

description

string

None.

status

string

None.

quantity

decimal number

Range: inclusive between 1E-06 and 9.22337203685478E+18

targetOrderQuantity

decimal number

Range: inclusive between 1E-06 and 9.22337203685478E+18

isTrackingItems

boolean

None.

pricingModelType

string

None.

pricingFormulaType

string

None.

customFields

Collection of Common.Dto.Get.PurchaseCustomField

None.

discounts

Collection of Common.Dto.Get.PurchaseDiscount

None.

priceRanges

Collection of Common.Dto.Get.PurchasePriceRange

None.

productItems

Collection of Common.Dto.Get.AccountProductItem

None.

couponCodes

Collection of string

None.

earningSettings

Common.Dto.Get.PurchaseEarningTiming

None.

invoicePreview

Common.Dto.Get.InvoicePreview

None.

sideEffects

Common.Dto.Get.SideEffects

None.

id

integer

None.

uri

string

None.

Response Formats

application/json, text/json

Sample:
{
  "customerId": 1,
  "code": "sample string 2",
  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
  "taxableAmount": 4.0,
  "modifiedTimestamp": "2025-05-21T09:42:33.7257388+00:00",
  "salesforceId": "sample string 6",
  "netsuiteClassId": "sample string 7",
  "netsuiteLocationId": "sample string 8",
  "netsuiteInventoryStatus": "sample string 9",
  "netsuiteInventoryStatusCounts": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "netsuiteInventoryBeingChecked": true,
  "lastNetSuiteInventoryCheckTimestamp": "2025-05-21T09:42:33.7257388+00:00",
  "netSuiteInventoryCheckStartTimestamp": "2025-05-21T09:42:33.7257388+00:00",
  "netsuiteBinId": "sample string 11",
  "invoiceOwner": "sample string 12",
  "invoiceOwnerId": 13,
  "postedChargeId": 1,
  "quickBooksClassId": "sample string 14",
  "productId": 15,
  "name": "sample string 16",
  "amount": 17.0,
  "description": "sample string 18",
  "status": "sample string 19",
  "quantity": 20.0,
  "targetOrderQuantity": 1.0,
  "isTrackingItems": true,
  "pricingModelType": "sample string 22",
  "pricingFormulaType": "sample string 23",
  "customFields": [
    {
      "key": "sample string 1",
      "friendlyName": "sample string 2",
      "dataType": "sample string 3",
      "value": {}
    },
    {
      "key": "sample string 1",
      "friendlyName": "sample string 2",
      "dataType": "sample string 3",
      "value": {}
    }
  ],
  "discounts": [
    {
      "purchaseId": 1,
      "discountType": "sample string 2",
      "amount": 3.0,
      "id": 4,
      "uri": "sample string 5"
    },
    {
      "purchaseId": 1,
      "discountType": "sample string 2",
      "amount": 3.0,
      "id": 4,
      "uri": "sample string 5"
    }
  ],
  "priceRanges": [
    {
      "min": 1.0,
      "max": 1.0,
      "amount": 2.0,
      "conditionAmount": 1.0,
      "variableAmount": 1.0,
      "conditionAmountDays": 1
    },
    {
      "min": 1.0,
      "max": 1.0,
      "amount": 2.0,
      "conditionAmount": 1.0,
      "variableAmount": 1.0,
      "conditionAmountDays": 1
    }
  ],
  "productItems": [
    {
      "reference": "sample string 1",
      "name": "sample string 2",
      "description": "sample string 3",
      "subscriptionProductId": 1,
      "subscriptionId": 1,
      "purchaseId": 1,
      "customerId": 4,
      "productId": 5,
      "status": "sample string 6",
      "createdDate": "2025-05-21T09:42:33.7257388+00:00",
      "modifiedDate": "2025-05-21T09:42:33.7257388+00:00",
      "invoicePreview": {
        "draftCharges": [
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          },
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          }
        ],
        "subtotal": 1.0,
        "total": 2.0,
        "draftTaxes": [
          {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          },
          {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          }
        ],
        "tax": {
          "id": 1,
          "name": "sample string 1",
          "registrationCode": "sample string 2",
          "percent": 3.0,
          "percentFormatted": "sample string 4",
          "total": 5.0
        },
        "totalTaxes": 3.0,
        "totalDiscount": 4.0,
        "poNumber": "sample string 5",
        "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
        "status": "sample string 7",
        "draftChargeGroups": [
          {
            "name": "sample string 1",
            "description": "sample string 2",
            "reference": "sample string 3",
            "subscriptionId": 1,
            "draftCharges": [
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              },
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              }
            ]
          },
          {
            "name": "sample string 1",
            "description": "sample string 2",
            "reference": "sample string 3",
            "subscriptionId": 1,
            "draftCharges": [
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              },
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              }
            ]
          }
        ],
        "notes": "sample string 8",
        "shippingInstructions": "sample string 9",
        "openingArBalance": 10.0,
        "closingArBalance": 11.0,
        "creditFromAvailableFunds": 12.0
      },
      "additionalInvoicesForPreview": [
        {
          "draftCharges": [
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            },
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            }
          ],
          "subtotal": 1.0,
          "total": 2.0,
          "draftTaxes": [
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            },
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            }
          ],
          "tax": {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          },
          "totalTaxes": 3.0,
          "totalDiscount": 4.0,
          "poNumber": "sample string 5",
          "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
          "status": "sample string 7",
          "draftChargeGroups": [
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            },
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            }
          ],
          "notes": "sample string 8",
          "shippingInstructions": "sample string 9",
          "openingArBalance": 10.0,
          "closingArBalance": 11.0,
          "creditFromAvailableFunds": 12.0
        },
        {
          "draftCharges": [
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            },
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            }
          ],
          "subtotal": 1.0,
          "total": 2.0,
          "draftTaxes": [
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            },
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            }
          ],
          "tax": {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          },
          "totalTaxes": 3.0,
          "totalDiscount": 4.0,
          "poNumber": "sample string 5",
          "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
          "status": "sample string 7",
          "draftChargeGroups": [
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            },
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            }
          ],
          "notes": "sample string 8",
          "shippingInstructions": "sample string 9",
          "openingArBalance": 10.0,
          "closingArBalance": 11.0,
          "creditFromAvailableFunds": 12.0
        }
      ],
      "netsuiteInventoryTimestamp": "2025-05-21T09:42:33.7257388+00:00",
      "netsuiteInventoryStatus": "sample string 9",
      "id": 10,
      "uri": "sample string 11"
    },
    {
      "reference": "sample string 1",
      "name": "sample string 2",
      "description": "sample string 3",
      "subscriptionProductId": 1,
      "subscriptionId": 1,
      "purchaseId": 1,
      "customerId": 4,
      "productId": 5,
      "status": "sample string 6",
      "createdDate": "2025-05-21T09:42:33.7257388+00:00",
      "modifiedDate": "2025-05-21T09:42:33.7257388+00:00",
      "invoicePreview": {
        "draftCharges": [
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          },
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          }
        ],
        "subtotal": 1.0,
        "total": 2.0,
        "draftTaxes": [
          {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          },
          {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          }
        ],
        "tax": {
          "id": 1,
          "name": "sample string 1",
          "registrationCode": "sample string 2",
          "percent": 3.0,
          "percentFormatted": "sample string 4",
          "total": 5.0
        },
        "totalTaxes": 3.0,
        "totalDiscount": 4.0,
        "poNumber": "sample string 5",
        "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
        "status": "sample string 7",
        "draftChargeGroups": [
          {
            "name": "sample string 1",
            "description": "sample string 2",
            "reference": "sample string 3",
            "subscriptionId": 1,
            "draftCharges": [
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              },
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              }
            ]
          },
          {
            "name": "sample string 1",
            "description": "sample string 2",
            "reference": "sample string 3",
            "subscriptionId": 1,
            "draftCharges": [
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              },
              {
                "transactionId": 1,
                "chargeTypeId": "sample string 2",
                "transactionType": "sample string 3",
                "quantity": 4.0,
                "unitPrice": 5.0,
                "amount": 6.0,
                "taxableAmount": 7.0,
                "subscriptionPeriodId": 8,
                "draftInvoiceId": 9,
                "name": "sample string 10",
                "description": "sample string 11",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "proratedUnitPrice": 1.0,
                "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                "rangeQuantity": 1.0,
                "draftDiscount": {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                "draftDiscounts": [
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  }
                ],
                "status": "sample string 15",
                "productItems": null,
                "canProrateCharge": true,
                "postable": true,
                "subscriptionProductId": 1,
                "purchaseId": 1,
                "productId": 1,
                "draftChargeTiers": [
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  },
                  {
                    "label": "sample string 1",
                    "quantity": 2.0,
                    "unitPrice": 3.0,
                    "amount": 4.0,
                    "sortOrder": 5
                  }
                ],
                "hasPurchasePerformanceObligations": true,
                "id": 19,
                "uri": "sample string 20"
              }
            ]
          }
        ],
        "notes": "sample string 8",
        "shippingInstructions": "sample string 9",
        "openingArBalance": 10.0,
        "closingArBalance": 11.0,
        "creditFromAvailableFunds": 12.0
      },
      "additionalInvoicesForPreview": [
        {
          "draftCharges": [
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            },
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            }
          ],
          "subtotal": 1.0,
          "total": 2.0,
          "draftTaxes": [
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            },
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            }
          ],
          "tax": {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          },
          "totalTaxes": 3.0,
          "totalDiscount": 4.0,
          "poNumber": "sample string 5",
          "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
          "status": "sample string 7",
          "draftChargeGroups": [
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            },
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            }
          ],
          "notes": "sample string 8",
          "shippingInstructions": "sample string 9",
          "openingArBalance": 10.0,
          "closingArBalance": 11.0,
          "creditFromAvailableFunds": 12.0
        },
        {
          "draftCharges": [
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            },
            {
              "transactionId": 1,
              "chargeTypeId": "sample string 2",
              "transactionType": "sample string 3",
              "quantity": 4.0,
              "unitPrice": 5.0,
              "amount": 6.0,
              "taxableAmount": 7.0,
              "subscriptionPeriodId": 8,
              "draftInvoiceId": 9,
              "name": "sample string 10",
              "description": "sample string 11",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "proratedUnitPrice": 1.0,
              "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
              "rangeQuantity": 1.0,
              "draftDiscount": {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              "draftDiscounts": [
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                },
                {
                  "draftChargeId": 1,
                  "configuredDiscountAmount": 2.0,
                  "amount": 3.0,
                  "quantity": 4.0,
                  "discountType": "sample string 5",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "description": "sample string 7",
                  "id": 8,
                  "uri": "sample string 9"
                }
              ],
              "status": "sample string 15",
              "productItems": null,
              "canProrateCharge": true,
              "postable": true,
              "subscriptionProductId": 1,
              "purchaseId": 1,
              "productId": 1,
              "draftChargeTiers": [
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                },
                {
                  "label": "sample string 1",
                  "quantity": 2.0,
                  "unitPrice": 3.0,
                  "amount": 4.0,
                  "sortOrder": 5
                }
              ],
              "hasPurchasePerformanceObligations": true,
              "id": 19,
              "uri": "sample string 20"
            }
          ],
          "subtotal": 1.0,
          "total": 2.0,
          "draftTaxes": [
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            },
            {
              "id": 1,
              "name": "sample string 1",
              "registrationCode": "sample string 2",
              "percent": 3.0,
              "percentFormatted": "sample string 4",
              "total": 5.0
            }
          ],
          "tax": {
            "id": 1,
            "name": "sample string 1",
            "registrationCode": "sample string 2",
            "percent": 3.0,
            "percentFormatted": "sample string 4",
            "total": 5.0
          },
          "totalTaxes": 3.0,
          "totalDiscount": 4.0,
          "poNumber": "sample string 5",
          "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
          "status": "sample string 7",
          "draftChargeGroups": [
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            },
            {
              "name": "sample string 1",
              "description": "sample string 2",
              "reference": "sample string 3",
              "subscriptionId": 1,
              "draftCharges": [
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                },
                {
                  "transactionId": 1,
                  "chargeTypeId": "sample string 2",
                  "transactionType": "sample string 3",
                  "quantity": 4.0,
                  "unitPrice": 5.0,
                  "amount": 6.0,
                  "taxableAmount": 7.0,
                  "subscriptionPeriodId": 8,
                  "draftInvoiceId": 9,
                  "name": "sample string 10",
                  "description": "sample string 11",
                  "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                  "proratedUnitPrice": 1.0,
                  "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
                  "rangeQuantity": 1.0,
                  "draftDiscount": {
                    "draftChargeId": 1,
                    "configuredDiscountAmount": 2.0,
                    "amount": 3.0,
                    "quantity": 4.0,
                    "discountType": "sample string 5",
                    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                    "description": "sample string 7",
                    "id": 8,
                    "uri": "sample string 9"
                  },
                  "draftDiscounts": [
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    },
                    {
                      "draftChargeId": 1,
                      "configuredDiscountAmount": 2.0,
                      "amount": 3.0,
                      "quantity": 4.0,
                      "discountType": "sample string 5",
                      "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                      "description": "sample string 7",
                      "id": 8,
                      "uri": "sample string 9"
                    }
                  ],
                  "status": "sample string 15",
                  "productItems": null,
                  "canProrateCharge": true,
                  "postable": true,
                  "subscriptionProductId": 1,
                  "purchaseId": 1,
                  "productId": 1,
                  "draftChargeTiers": [
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    },
                    {
                      "label": "sample string 1",
                      "quantity": 2.0,
                      "unitPrice": 3.0,
                      "amount": 4.0,
                      "sortOrder": 5
                    }
                  ],
                  "hasPurchasePerformanceObligations": true,
                  "id": 19,
                  "uri": "sample string 20"
                }
              ]
            }
          ],
          "notes": "sample string 8",
          "shippingInstructions": "sample string 9",
          "openingArBalance": 10.0,
          "closingArBalance": 11.0,
          "creditFromAvailableFunds": 12.0
        }
      ],
      "netsuiteInventoryTimestamp": "2025-05-21T09:42:33.7257388+00:00",
      "netsuiteInventoryStatus": "sample string 9",
      "id": 10,
      "uri": "sample string 11"
    }
  ],
  "couponCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "earningSettings": {
    "earningInterval": "sample string 1",
    "earningNumberOfIntervals": 1,
    "earningTimingInterval": "sample string 2",
    "earningTimingType": "sample string 3",
    "earningSchedules": [
      {
        "scheduledInterval": "sample string 1",
        "numberOfIntervals": 1,
        "scheduledAmount": 1.0,
        "reference": "sample string 2",
        "discountSchedules": [
          {
            "scheduledInterval": "sample string 1",
            "numberOfIntervals": 1,
            "scheduledAmount": 1.0,
            "reference": "sample string 2"
          },
          {
            "scheduledInterval": "sample string 1",
            "numberOfIntervals": 1,
            "scheduledAmount": 1.0,
            "reference": "sample string 2"
          }
        ],
        "scheduledType": "sample string 3",
        "id": 4,
        "uri": "sample string 5"
      },
      {
        "scheduledInterval": "sample string 1",
        "numberOfIntervals": 1,
        "scheduledAmount": 1.0,
        "reference": "sample string 2",
        "discountSchedules": [
          {
            "scheduledInterval": "sample string 1",
            "numberOfIntervals": 1,
            "scheduledAmount": 1.0,
            "reference": "sample string 2"
          },
          {
            "scheduledInterval": "sample string 1",
            "numberOfIntervals": 1,
            "scheduledAmount": 1.0,
            "reference": "sample string 2"
          }
        ],
        "scheduledType": "sample string 3",
        "id": 4,
        "uri": "sample string 5"
      }
    ]
  },
  "invoicePreview": {
    "draftCharges": [
      {
        "transactionId": 1,
        "chargeTypeId": "sample string 2",
        "transactionType": "sample string 3",
        "quantity": 4.0,
        "unitPrice": 5.0,
        "amount": 6.0,
        "taxableAmount": 7.0,
        "subscriptionPeriodId": 8,
        "draftInvoiceId": 9,
        "name": "sample string 10",
        "description": "sample string 11",
        "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
        "proratedUnitPrice": 1.0,
        "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
        "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
        "rangeQuantity": 1.0,
        "draftDiscount": {
          "draftChargeId": 1,
          "configuredDiscountAmount": 2.0,
          "amount": 3.0,
          "quantity": 4.0,
          "discountType": "sample string 5",
          "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
          "description": "sample string 7",
          "id": 8,
          "uri": "sample string 9"
        },
        "draftDiscounts": [
          {
            "draftChargeId": 1,
            "configuredDiscountAmount": 2.0,
            "amount": 3.0,
            "quantity": 4.0,
            "discountType": "sample string 5",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "description": "sample string 7",
            "id": 8,
            "uri": "sample string 9"
          },
          {
            "draftChargeId": 1,
            "configuredDiscountAmount": 2.0,
            "amount": 3.0,
            "quantity": 4.0,
            "discountType": "sample string 5",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "description": "sample string 7",
            "id": 8,
            "uri": "sample string 9"
          }
        ],
        "status": "sample string 15",
        "productItems": null,
        "canProrateCharge": true,
        "postable": true,
        "subscriptionProductId": 1,
        "purchaseId": 1,
        "productId": 1,
        "draftChargeTiers": [
          {
            "label": "sample string 1",
            "quantity": 2.0,
            "unitPrice": 3.0,
            "amount": 4.0,
            "sortOrder": 5
          },
          {
            "label": "sample string 1",
            "quantity": 2.0,
            "unitPrice": 3.0,
            "amount": 4.0,
            "sortOrder": 5
          }
        ],
        "hasPurchasePerformanceObligations": true,
        "id": 19,
        "uri": "sample string 20"
      },
      {
        "transactionId": 1,
        "chargeTypeId": "sample string 2",
        "transactionType": "sample string 3",
        "quantity": 4.0,
        "unitPrice": 5.0,
        "amount": 6.0,
        "taxableAmount": 7.0,
        "subscriptionPeriodId": 8,
        "draftInvoiceId": 9,
        "name": "sample string 10",
        "description": "sample string 11",
        "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
        "proratedUnitPrice": 1.0,
        "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
        "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
        "rangeQuantity": 1.0,
        "draftDiscount": {
          "draftChargeId": 1,
          "configuredDiscountAmount": 2.0,
          "amount": 3.0,
          "quantity": 4.0,
          "discountType": "sample string 5",
          "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
          "description": "sample string 7",
          "id": 8,
          "uri": "sample string 9"
        },
        "draftDiscounts": [
          {
            "draftChargeId": 1,
            "configuredDiscountAmount": 2.0,
            "amount": 3.0,
            "quantity": 4.0,
            "discountType": "sample string 5",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "description": "sample string 7",
            "id": 8,
            "uri": "sample string 9"
          },
          {
            "draftChargeId": 1,
            "configuredDiscountAmount": 2.0,
            "amount": 3.0,
            "quantity": 4.0,
            "discountType": "sample string 5",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "description": "sample string 7",
            "id": 8,
            "uri": "sample string 9"
          }
        ],
        "status": "sample string 15",
        "productItems": null,
        "canProrateCharge": true,
        "postable": true,
        "subscriptionProductId": 1,
        "purchaseId": 1,
        "productId": 1,
        "draftChargeTiers": [
          {
            "label": "sample string 1",
            "quantity": 2.0,
            "unitPrice": 3.0,
            "amount": 4.0,
            "sortOrder": 5
          },
          {
            "label": "sample string 1",
            "quantity": 2.0,
            "unitPrice": 3.0,
            "amount": 4.0,
            "sortOrder": 5
          }
        ],
        "hasPurchasePerformanceObligations": true,
        "id": 19,
        "uri": "sample string 20"
      }
    ],
    "subtotal": 1.0,
    "total": 2.0,
    "draftTaxes": [
      {
        "id": 1,
        "name": "sample string 1",
        "registrationCode": "sample string 2",
        "percent": 3.0,
        "percentFormatted": "sample string 4",
        "total": 5.0
      },
      {
        "id": 1,
        "name": "sample string 1",
        "registrationCode": "sample string 2",
        "percent": 3.0,
        "percentFormatted": "sample string 4",
        "total": 5.0
      }
    ],
    "tax": {
      "id": 1,
      "name": "sample string 1",
      "registrationCode": "sample string 2",
      "percent": 3.0,
      "percentFormatted": "sample string 4",
      "total": 5.0
    },
    "totalTaxes": 3.0,
    "totalDiscount": 4.0,
    "poNumber": "sample string 5",
    "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
    "status": "sample string 7",
    "draftChargeGroups": [
      {
        "name": "sample string 1",
        "description": "sample string 2",
        "reference": "sample string 3",
        "subscriptionId": 1,
        "draftCharges": [
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          },
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          }
        ]
      },
      {
        "name": "sample string 1",
        "description": "sample string 2",
        "reference": "sample string 3",
        "subscriptionId": 1,
        "draftCharges": [
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          },
          {
            "transactionId": 1,
            "chargeTypeId": "sample string 2",
            "transactionType": "sample string 3",
            "quantity": 4.0,
            "unitPrice": 5.0,
            "amount": 6.0,
            "taxableAmount": 7.0,
            "subscriptionPeriodId": 8,
            "draftInvoiceId": 9,
            "name": "sample string 10",
            "description": "sample string 11",
            "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
            "proratedUnitPrice": 1.0,
            "startServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "endServiceDate": "2025-05-21T09:42:33.7257388+00:00",
            "rangeQuantity": 1.0,
            "draftDiscount": {
              "draftChargeId": 1,
              "configuredDiscountAmount": 2.0,
              "amount": 3.0,
              "quantity": 4.0,
              "discountType": "sample string 5",
              "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
              "description": "sample string 7",
              "id": 8,
              "uri": "sample string 9"
            },
            "draftDiscounts": [
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              },
              {
                "draftChargeId": 1,
                "configuredDiscountAmount": 2.0,
                "amount": 3.0,
                "quantity": 4.0,
                "discountType": "sample string 5",
                "effectiveTimestamp": "2025-05-21T09:42:33.7257388+00:00",
                "description": "sample string 7",
                "id": 8,
                "uri": "sample string 9"
              }
            ],
            "status": "sample string 15",
            "productItems": null,
            "canProrateCharge": true,
            "postable": true,
            "subscriptionProductId": 1,
            "purchaseId": 1,
            "productId": 1,
            "draftChargeTiers": [
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              },
              {
                "label": "sample string 1",
                "quantity": 2.0,
                "unitPrice": 3.0,
                "amount": 4.0,
                "sortOrder": 5
              }
            ],
            "hasPurchasePerformanceObligations": true,
            "id": 19,
            "uri": "sample string 20"
          }
        ]
      }
    ],
    "notes": "sample string 8",
    "shippingInstructions": "sample string 9",
    "openingArBalance": 10.0,
    "closingArBalance": 11.0,
    "creditFromAvailableFunds": 12.0
  },
  "sideEffects": {},
  "id": 24,
  "uri": "sample string 25"
}