The Bill Object

Object Definition

{
  "id": 65099661468,
  "ref_number": null,                       // string(50). required for PATCH that marks bill as processed.
  "service_date": "2016-10-12T12:00:00Z",
  "billing_date": null,                     // datetime(iso8601). required for PATCH that marks bill as processed.
  "billing_status": "Unbilled",
  "billing_error": null,                    // string(200). required for PATCH that marks bill as failed.
  "billing_raw_error": null,                // longtext. optional for PATCH that marks bill as failed.
  "notes": "patient has not paid yet",
  "cpts": [
    {
      "cpt": "99213",
      "modifiers": [
        "10",
        "11",
        "12",
        "13"
      ],
      "dxs": [
        "D23.4",
        "R88.8"
      ],
      "alt_dxs": [
        "216.4",
        "792.9"
      ],
      "unit_charge": null,
      "units": null
    },
    {
      "cpt": "99214",
      "modifiers": [
        "21",
        "32",
        "23",
        "42"
      ],
      "dxs": [
        "B49",
        "J66.8"
      ],
      "alt_dxs": [
        "112.89",
        "112.89"
      ],
      "unit_charge": null,
      "units": null
    }
  ],
  "payment": {
    "amount": "10.00",
    "when_collected": "2016-10-12T22:11:01Z"
  },
  "visit_note_id": 64409108504,
  "visit_note_signed_date": "2016-10-12T22:11:01Z",
  "visit_note_deleted_date": null,
  "referring_provider": {
    "name": "Beverly Crusher, MD (555-555-5555)",
    "state": "CA",
    "npi": "1701170117"
  },
  "billing_provider": 42120898,
  "rendering_provider": 68382673,
  "supervising_provider": 52893234,
  "ordering_provider": {
    "name": "Doctor Lightning, MD (555-555-5556)",
    "state": "WA",
    "npi":" 1234567890"
  },
  "service_location": {
    "id": 13631735,	
    "name": "Elation North",
    "is_primary": True,
    "place_of_service": "Office",
    "place_of_service_code": "11",
    "address_line1": "1234 First Practice Way",
    "address_line2": "",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94114",
    "phone": "",
    "created_date": "2017-08-28T22:46:14.445876Z",
    "deleted_date": null
  },
  "physician": 64811630594,
  "practice": 65540,
  "patient": 64901939201,
  "prior_authorization": "1234-ABC",
  "metadata": null,
  "created_date": "2016-05-23T17:50:50Z",
  "last_modified_date": "2016-10-12T22:39:46Z"
}