Examples

GET /v1/022ac57f-b517-4e69-84c8-8cbaa6250115/ledgers/previous
200
{
  "ledgers": [
    {
      "id": "ed474774-98c0-451c-a873-6d9009da53cd",
      "active": false,
      "autopay_enabled": false,
      "autopay_info": {
        "autopay_enabled": false,
        "day": 1,
        "next_autopay_date": "2023-10-01",
        "payment_method_id": null,
        "payment_type": null,
        "account_or_card_number": null
      },
      "closed_on": "2023-09-15T04:38:29.709-10:00",
      "current_account_balance": 0.0,
      "current_insurance": null,
      "current_prepay_balance": 0.0,
      "current_rate": 12.0,
      "delinquent": false,
      "gate_access_code": null,
      "invoice_day_of_month": 1,
      "lease_number": 1694788733,
      "length_of_stay_in_months": 0,
      "moved_in_at": "2023-09-15T04:38:29.516-10:00",
      "next_charge_amount": 13.13,
      "next_charge_amount_by_ledger": 13.13,
      "next_charge_date": "2023-10-01",
      "paid_through": "2023-10-15",
      "rate_last_changed_on": "2023-09-15T04:38:29.516-10:00",
      "rate_per_square_foot": 0.2,
      "recent_open_charges": [],
      "recent_payments": [],
      "scheduled_move_out": null,
      "scheduled_rate_change": null,
      "scheduled_transfer": null,
      "manage_revenue": "automatic",
      "rate_increase_exempt": false,
      "storage_items": [],
      "tenant": {
        "id": "729ab1ac-c152-4da1-8ddc-97790f03a32a",
        "account_number": 1000000,
        "first_name": "Ian140",
        "last_name": "Quigley",
        "middle_initial": null,
        "email": "[email protected]",
        "tax_exempt": false,
        "is_military": false,
        "is_business": false,
        "business_name": null,
        "last_sign_in_at": null,
        "title": null,
        "delinquent": false,
        "current_ledger_ids": [],
        "preferences": {
          "email_invoices": true,
          "print_invoices": false,
          "charge_invoice_fee": true,
          "receive_legal_notices_by_email": null,
          "delinquency_exempt": false,
          "delinquency_docs_by_email": false,
          "delinquency_docs_by_mail": false,
          "receive_sms_for_gate_activity": false,
          "opt_in_to_marketing_emails": false,
          "opt_in_to_marketing_sms": false,
          "opt_in_to_transactional_sms": false,
          "exclude_from_insurance_auto_enroll": false,
          "exclude_from_insurance_auto_enroll_reason": null,
          "exclude_from_insurance_auto_enroll_created_by": null,
          "exclude_from_insurance_auto_enroll_on": null
        },
        "military_information": null,
        "username": "username_140",
        "drivers_license_number": null,
        "drivers_license_state": null,
        "vehicle_license_plate_number": null,
        "vehicle_license_state": null,
        "vehicle_description": null,
        "has_tenant_portal_account": false,
        "created_at": "2023-09-15T04:38:29.496-10:00",
        "gate_24_hour_access": false,
        "active": false,
        "tenant_account_kind_name": "Standard",
        "blocked_payments": false,
        "date_of_birth": null,
        "phone_numbers": [
          {
            "id": "dd6c81c2-7220-4017-b8c9-102e409eba9b",
            "primary": true,
            "source": null,
            "number": "+14152148460",
            "formatted_number": "(415) 214-8460",
            "extension": null,
            "label": "Fax",
            "unformatted_number": "4152148460",
            "sms_opt_in": false
          },
          {
            "id": "5e2a163c-2c3c-4fdb-97fb-11271db5c530",
            "primary": false,
            "source": null,
            "number": "+17187202589",
            "formatted_number": "(718) 720-2589 x 6496",
            "extension": "6496",
            "label": "Fax",
            "unformatted_number": "7187202589",
            "sms_opt_in": false
          },
          {
            "id": "5624c096-b76c-4398-9122-65a7b88cfaa9",
            "primary": false,
            "source": null,
            "number": "+18629199288",
            "formatted_number": "(862) 919-9288 x 2164",
            "extension": "2164",
            "label": "Fax",
            "unformatted_number": "8629199288",
            "sms_opt_in": false
          }
        ],
        "mailing_address": {
          "id": "9ec09394-4157-460f-a343-b9f3403df2a8",
          "address1": "90792308 Lorraine Center",
          "address2": null,
          "city": "North Cruzfurt",
          "state": "DE",
          "postal": "89980",
          "country": "US",
          "full_address": "90792308 Lorraine Center, North Cruzfurt, DE 89980",
          "latitude": 39.114844,
          "longitude": -94.630169,
          "time_zone_id": "America/New_York",
          "time_zone_offset": "-04:00",
          "invalid_data": false,
          "label": "Home"
        },
        "addresses": [
          {
            "id": "9ec09394-4157-460f-a343-b9f3403df2a8",
            "address1": "90792308 Lorraine Center",
            "address2": null,
            "city": "North Cruzfurt",
            "state": "DE",
            "postal": "89980",
            "country": "US",
            "full_address": "90792308 Lorraine Center, North Cruzfurt, DE 89980",
            "latitude": 39.114844,
            "longitude": -94.630169,
            "time_zone_id": "America/New_York",
            "time_zone_offset": "-04:00",
            "invalid_data": false,
            "label": "Home"
          }
        ],
        "facility_id": "022ac57f-b517-4e69-84c8-8cbaa6250115",
        "previous_ledger_ids": [
          "ed474774-98c0-451c-a873-6d9009da53cd"
        ],
        "lead_ids": [],
        "closed_lead_ids": [],
        "contact_ids": [],
        "support_case_ids": [],
        "event_ids": [],
        "password_recovery_question_ids": [
          "b8b88968-01c4-4c6a-9d32-88936ea5a98e",
          "6fc3099e-f67b-4b26-b797-796458ae2742"
        ]
      },
      "unit": {
        "id": "5729f2a5-81e2-47a1-ab2e-2a6e287966b5",
        "price": 764.95,
        "name": "U93",
        "description": "",
        "width": 10.0,
        "length": 6.0,
        "height": 4.0,
        "door_height": 10.0,
        "door_width": 1.0,
        "door_type": "roll_up",
        "access_type": "indoor",
        "floor": null,
        "directions": null,
        "size": "10x6x4",
        "area": 60.0,
        "standard_rate": 764.95,
        "managed_rate": null,
        "tiered_rate": null,
        "available_for_move_in": false,
        "rentable": true,
        "status": "occupied",
        "payment_status": null,
        "current_ledger_id": null,
        "current_tenant_id": null,
        "combo_lock_group": null,
        "combination_lock_number": null,
        "overlock_lock_number": null,
        "attribute_description": null,
        "deleted": false,
        "damaged": false,
        "complimentary": null,
        "unrentable": false,
        "company_owned": false,
        "is_prepped": null,
        "rank": null,
        "custom_fields": [],
        "allow_future_move_ins_limit": null,
        "channel_rate": null,
        "unit_amenities": [],
        "unit_type": {
          "id": "eabcd182-a5a8-428c-bae9-04a354a118ee",
          "name": "Unit Type 122",
          "deleted": false,
          "internal_account_code": "4000",
          "code_and_description": "4000 - Rental Revenue",
          "ii_excluded": []
        },
        "tier": null,
        "unit_group_id": "9f726e3c-39da-4457-9c9b-a3785c277a23"
      },
      "alternate_contact_assignment_id": null,
      "auction_id": null,
      "facility_id": "022ac57f-b517-4e69-84c8-8cbaa6250115"
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "total_pages": 1,
      "per_page": 100,
      "total_entries": 1,
      "previous_page": null,
      "next_page": null
    },
    "status_code": 200,
    "status_message": "OK",
    "status_cat": "https://http.cat/200",
    "request_method": "GET",
    "request_id": null,
    "parameters": {
      "facility_id": "022ac57f-b517-4e69-84c8-8cbaa6250115",
      "ledger": {}
    }
  }
}