Examples

GET /v1/42df68e6-919a-451c-afca-31a43ad57b9e/ledgers/previous
200
{
  "ledgers": [
    {
      "id": "3df2b356-274f-4bb4-8e87-3dbf74327856",
      "active": false,
      "autopay_info": {
        "autopay_enabled": false,
        "day": 1,
        "next_autopay_date": "2022-10-01",
        "payment_method_id": null,
        "payment_type": null,
        "account_or_card_number": null
      },
      "closed_on": "2022-09-12T22:36:26.390-10:00",
      "current_account_balance": 0.0,
      "current_insurance": null,
      "current_prepay_balance": 0.0,
      "current_rate": 12.0,
      "delinquent": false,
      "gate_access_code": "335509",
      "invoice_day_of_month": 1,
      "lease_number": 1663058189,
      "length_of_stay_in_months": 1,
      "moved_in_at": "2022-09-12T22:36:26.278-10:00",
      "next_charge_amount": 13.13,
      "next_charge_amount_by_ledger": 13.13,
      "next_charge_date": "2022-10-01",
      "paid_through": "2022-10-12",
      "rate_last_changed_on": "2022-09-12T22:36:26.278-10:00",
      "rate_per_square_foot": 0.3,
      "recent_open_charges": [],
      "recent_payments": [],
      "scheduled_move_out": null,
      "scheduled_rate_change": null,
      "scheduled_transfer": null,
      "manage_revenue": "automatic",
      "rate_increase_exempt": false,
      "tenant": {
        "id": "68fc7b28-e507-4258-9236-aba6817cba59",
        "account_number": 1000000,
        "first_name": "Fabian22",
        "last_name": "Wehner",
        "middle_initial": null,
        "email": "shaniqua@kerluke.biz22",
        "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_22",
        "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": "2022-09-12T22:36:26.259-10:00",
        "gate_24_hour_access": false,
        "active": false,
        "tenant_account_kind_name": "Standard",
        "blocked_payments": false,
        "date_of_birth": null,
        "phone_numbers": [
          {
            "id": "4c54f943-272f-48ec-a06c-4dc62bedf94b",
            "primary": true,
            "source": null,
            "number": "+13609105144",
            "formatted_number": "(360) 910-5144 x 2534",
            "extension": "2534",
            "label": "Mobile",
            "unformatted_number": "3609105144",
            "sms_opt_in": false
          },
          {
            "id": "20373a8b-3e19-4d3e-9538-7cf164a9b479",
            "primary": false,
            "source": null,
            "number": "+17816823372",
            "formatted_number": "(781) 682-3372",
            "extension": null,
            "label": "Work",
            "unformatted_number": "7816823372",
            "sms_opt_in": false
          },
          {
            "id": "956893f8-f19e-49fe-8d04-22d0ae7b194e",
            "primary": false,
            "source": null,
            "number": "+19714694505",
            "formatted_number": "(971) 469-4505 x 3751",
            "extension": "3751",
            "label": "Fax",
            "unformatted_number": "9714694505",
            "sms_opt_in": false
          }
        ],
        "mailing_address": {
          "id": "93cef2fc-c7fc-4c06-a83f-039c34fe7447",
          "address1": "148222 McGlynn Cliff",
          "address2": null,
          "city": "South Jessie",
          "state": "CT",
          "postal": "39384",
          "country": "US",
          "full_address": "148222 McGlynn Cliff, South Jessie, CT 39384",
          "latitude": 39.114844,
          "longitude": -94.630169,
          "time_zone_id": "America/New_York",
          "time_zone_offset": "-04:00",
          "invalid_data": false,
          "label": "Home"
        },
        "addresses": [
          {
            "id": "93cef2fc-c7fc-4c06-a83f-039c34fe7447",
            "address1": "148222 McGlynn Cliff",
            "address2": null,
            "city": "South Jessie",
            "state": "CT",
            "postal": "39384",
            "country": "US",
            "full_address": "148222 McGlynn Cliff, South Jessie, CT 39384",
            "latitude": 39.114844,
            "longitude": -94.630169,
            "time_zone_id": "America/New_York",
            "time_zone_offset": "-04:00",
            "invalid_data": false,
            "label": "Home"
          }
        ],
        "facility_id": "42df68e6-919a-451c-afca-31a43ad57b9e",
        "previous_ledger_ids": [
          "3df2b356-274f-4bb4-8e87-3dbf74327856"
        ],
        "lead_ids": [],
        "closed_lead_ids": [],
        "contact_ids": [],
        "support_case_ids": [],
        "event_ids": [],
        "password_recovery_question_ids": [
          "2597b994-0806-4992-a1c4-f94d4c3c1f28",
          "975b65aa-5d3e-413b-be20-0d52c88955c2"
        ]
      },
      "unit": {
        "id": "7908d926-3cd4-4905-ba4f-a9f040e0cde1",
        "price": 847.75,
        "name": "U14",
        "description": "",
        "width": 8.0,
        "length": 5.0,
        "height": 7.0,
        "door_height": 10.0,
        "door_width": 2.0,
        "door_type": "roll_up",
        "access_type": "indoor",
        "floor": null,
        "directions": null,
        "size": "8x5x7",
        "area": 40.0,
        "standard_rate": 847.75,
        "managed_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,
        "tiering": {
          "cross_sell_group_id": 1937,
          "descriptor": "No Tier",
          "tiered_amenities": []
        },
        "custom_fields": [],
        "channel_rate": null,
        "unit_amenities": [],
        "unit_type": {
          "id": "cd68d14e-9b58-4b89-97ee-587fadddbbc3",
          "name": "Unit Type 14",
          "deleted": false,
          "internal_account_code": "4000",
          "code_and_description": "4000 - Rental Revenue",
          "ii_excluded": []
        },
        "unit_group_id": "405a5263-2d7a-4685-aff0-15b1ea628e57"
      },
      "alternate_contact_assignment_id": null,
      "auction_id": null,
      "facility_id": "42df68e6-919a-451c-afca-31a43ad57b9e"
    }
  ],
  "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": "42df68e6-919a-451c-afca-31a43ad57b9e"
    }
  }
}