{
  "invoice": {
    "invoicenumber": "INV-01088-B4Q9Z1",
    "name": "Field service starter kit — 12 technicians",
    "customerid": "Contoso Ltd",
    "salesorderid": "ORD-01055-K2M8D4",
    "paymenttermscode": "Net 30",
    "statuscode": "Billed",
    "billto_line1": "1 Contoso Way",
    "billto_line2": "Building 4",
    "billto_city": "Redmond",
    "billto_stateorprovince": "WA",
    "billto_postalcode": "98052",
    "billto_country": "United States",
    "description": null,
    "totallineitemamount": "$15,340.00",
    "totaldiscountamount": "$0.00",
    "totaltax": "$1,227.20",
    "freightamount": "$120.00",
    "totalamount": "$16,687.20",
    "_raw": {
      "duedate": "2026-10-16T00:00:00Z",
      "totaldiscountamount": 0,
      "freightamount": 120
    },
    "lines": [
      {
        "productid": "Rugged tablet 10\"",
        "productdescription": null,
        "quantity": "12.00000",
        "priceperunit": "$1,095.00",
        "tax": "$1,051.20",
        "extendedamount": "$13,140.00",
        "_raw": {
          "quantity": 12
        }
      },
      {
        "productid": "Vehicle dock",
        "productdescription": null,
        "quantity": "12.00000",
        "priceperunit": "$185.00",
        "tax": "$177.60",
        "extendedamount": "$2,220.00",
        "_raw": {
          "quantity": 12
        }
      },
      {
        "productid": null,
        "productdescription": "Onboarding workshop (1 day, on site)",
        "quantity": "1.00000",
        "priceperunit": "$980.00",
        "tax": "$0.00",
        "extendedamount": "$980.00",
        "_raw": {
          "quantity": 1
        }
      }
    ]
  }
}
