{
  "id": 8,
  "customerId": 8,
  "accountId": 3,
  "internalId": 1,
  "lines": [
    {
      "id": 2,
      "accountId": 6,
      "targetId": 8,
      "quantity": 7,
      "description": "string",
      "amount": 8,
      "lineType": "INVOICE",
      "lineItemType": "INVENTORY",
      "itemIds": [
        9,
        8,
        4,
        2,
        1,
        10
      ],
      "inventory": {
        "inHandDate": "string",
        "id": 1,
        "accountId": 10,
        "eventId": 1,
        "quantity": 9,
        "notes": "string",
        "section": "string",
        "row": "string",
        "secondRow": "string",
        "lowSeat": 2,
        "highSeat": 1,
        "cost": 3,
        "faceValue": 9,
        "tickets": [
          {
            "id": 4,
            "seatNumber": 8,
            "fileName": "string",
            "barCode": "string",
            "inventoryId": 6,
            "invoiceLineId": 9,
            "purchaseLineId": 5,
            "section": "string",
            "row": "string",
            "notes": "string",
            "cost": 1,
            "faceValue": 8,
            "sellPrice": 9,
            "stockType": "FLASH",
            "eventId": 4,
            "accountId": 10,
            "status": "SOLD",
            "base64FileBytes": "string",
            "disclosures": [
              "string",
              "string",
              "string",
              "string",
              "string",
              "string",
              "string",
              "string",
              "string"
            ],
            "attributes": [
              "string",
              "string",
              "string",
              "string",
              "string",
              "string"
            ],
            "createdDate": "string",
            "createdBy": "string",
            "lastUpdate": "string",
            "lastUpdateBy": "string",
            "dateCancelled": "string",
            "cancelledByUserId": 7,
            "auditNote": "string"
          }
        ],
        "ticketIds": [
          10,
          8,
          7,
          6,
          10,
          6,
          8,
          9
        ],
        "stockType": "MOBILE_SCREENCAP",
        "splitType": "CUSTOM",
        "customSplit": "string",
        "listPrice": 7,
        "expectedValue": 8,
        "publicNotes": "string",
        "attributes": [
          "string",
          "string",
          "string",
          "string"
        ],
        "status": "AVAILABLE",
        "inHandDaysBeforeEvent": 2,
        "lastPriceUpdate": "string",
        "createdDate": "string",
        "createdBy": "string",
        "lastUpdate": "string",
        "lastUpdateBy": "string",
        "lastDeltaUpdate": "string",
        "version": 2,
        "tags": "string",
        "seatType": "GA",
        "eventMapping": {
          "eventName": "string",
          "venueName": "string",
          "eventDate": "string",
          "valid": true
        },
        "mappingId": 1,
        "exchangePosId": 3,
        "broadcast": true,
        "zoneSeating": true,
        "electronicTransfer": false,
        "optOutAutoPrice": false,
        "hideSeatNumbers": true,
        "vsrOption": "NONE",
        "replenishmentGroupId": 2,
        "replenishmentGroup": "string",
        "shownQuantity": 1,
        "ticketsMerged": false,
        "ticketsSplit": true,
        "auditNote": "string",
        "filesUploaded": false,
        "barCodesEntered": false
      },
      "cancelled": false,
      "delete": false,
      "cancel": true,
      "fillLineId": 1,
      "inventoryIds": [
        2,
        9,
        4,
        9,
        5,
        8,
        3,
        10,
        5,
        7
      ],
      "createdDate": "string",
      "createdBy": "string",
      "lastUpdate": "string",
      "lastUpdateBy": "string"
    }
  ],
  "salesTerm": "NET0",
  "paymentMethod": "EVOPAY",
  "paymentRef": "string",
  "deliveryMethod": "EMAIL",
  "shippingAddressId": 7,
  "billingAddressId": 5,
  "taxAmount": 6,
  "shippingAmount": 6,
  "otherAmount": 8,
  "internalNotes": "string",
  "publicNotes": "string",
  "createdDate": "string",
  "lastUpdate": "string",
  "dueDate": "string",
  "tags": "string",
  "createdBy": "string",
  "lastUpdateBy": "string",
  "paymentStatus": "PAID",
  "fulfillmentStatus": "COMPLETE",
  "externalRef": "string",
  "airbill": "string",
  "status": "MANAGER_REVIEW",
  "currencyCode": "AUD",
  "payments": [
    {
      "id": 2,
      "accountId": 8,
      "referenceNumber": "string",
      "amount": 9,
      "paymentDate": "string",
      "userId": 10,
      "entityId": 3,
      "paymentType": "INVOICE",
      "paymentMethod": "PAYPAL",
      "invoiceId": 3
    },
    {
      "id": 6,
      "accountId": 2,
      "referenceNumber": "string",
      "amount": 4,
      "paymentDate": "string",
      "userId": 8,
      "entityId": 2,
      "paymentType": "INVOICE",
      "paymentMethod": "CREDITCARD",
      "invoiceId": 3
    },
    {
      "id": 5,
      "accountId": 10,
      "referenceNumber": "string",
      "amount": 5,
      "paymentDate": "string",
      "userId": 10,
      "entityId": 9,
      "paymentType": "INVOICE",
      "paymentMethod": "VENMO",
      "invoiceId": 8
    },
    {
      "id": 6,
      "accountId": 6,
      "referenceNumber": "string",
      "amount": 5,
      "paymentDate": "string",
      "userId": 6,
      "entityId": 4,
      "paymentType": "INVOICE",
      "paymentMethod": "OTHER",
      "invoiceId": 1
    },
    {
      "id": 9,
      "accountId": 6,
      "referenceNumber": "string",
      "amount": 7,
      "paymentDate": "string",
      "userId": 2,
      "entityId": 5,
      "paymentType": "PURCHASE",
      "paymentMethod": "AR",
      "invoiceId": 7
    },
    {
      "id": 5,
      "accountId": 10,
      "referenceNumber": "string",
      "amount": 1,
      "paymentDate": "string",
      "userId": 10,
      "entityId": 10,
      "paymentType": "PURCHASE",
      "paymentMethod": "PAYPAL",
      "invoiceId": 3
    },
    {
      "id": 8,
      "accountId": 10,
      "referenceNumber": "string",
      "amount": 5,
      "paymentDate": "string",
      "userId": 10,
      "entityId": 1,
      "paymentType": "PURCHASE",
      "paymentMethod": "ACH",
      "invoiceId": 6
    }
  ],
  "invoiceDeliveryLink": {
    "enabled": false,
    "description": "string",
    "allTicketsWithBarcodes": true,
    "allTicketsWithPdfs": true
  },
  "notes": [
    {
      "id": 7,
      "userId": 2,
      "accountId": 2,
      "invoiceId": 10,
      "date": "string",
      "text": "string",
      "author": "string"
    },
    {
      "id": 4,
      "userId": 2,
      "accountId": 1,
      "invoiceId": 7,
      "date": "string",
      "text": "string",
      "author": "string"
    },
    {
      "id": 5,
      "userId": 9,
      "accountId": 8,
      "invoiceId": 10,
      "date": "string",
      "text": "string",
      "author": "string"
    },
    {
      "id": 10,
      "userId": 7,
      "accountId": 3,
      "invoiceId": 4,
      "date": "string",
      "text": "string",
      "author": "string"
    }
  ],
  "fulfillmentDate": "string",
  "fulfillmentByUserId": 4,
  "outstandingBalance": 2,
  "barcodesEntered": true,
  "filesUploaded": false
}