{
  "opencollection": "1.0.0",
  "info": {
    "name": "AlayaCare Accounting Accounts Billing Periods API",
    "version": "1.0.19-oas3"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Billing Periods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a payor invoicing billing period",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/billing/periods/:billing_period_id",
            "params": [
              {
                "name": "billing_period_id",
                "value": "",
                "type": "path",
                "description": "Billing Period ID"
              }
            ]
          },
          "docs": "Get a payor invoicing billing period"
        },
        {
          "info": {
            "name": "Get a collection of all payor invoicing billing periods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/billing/periods/",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Filter by page number."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of items per page."
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "Field to sort by"
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "Order to sort by"
              },
              {
                "name": "frequency",
                "value": "",
                "type": "query",
                "description": "Returns all billing periods with that frequency."
              },
              {
                "name": "invoice_date_from",
                "value": "",
                "type": "query",
                "description": "Returns all billing periods using that Invoice Date within the date range."
              },
              {
                "name": "invoice_date_to",
                "value": "",
                "type": "query",
                "description": "Returns all billing periods using that Invoice Date within the date range."
              },
              {
                "name": "billing_period_from",
                "value": "",
                "type": "query",
                "description": "Returns all billing periods that overlap with the entered date range."
              },
              {
                "name": "billing_period_to",
                "value": "",
                "type": "query",
                "description": "Returns all billing periods that overlap with the entered date range."
              },
              {
                "name": "branch_id",
                "value": "",
                "type": "query",
                "description": "Filter by branch ID"
              },
              {
                "name": "search_id",
                "value": "",
                "type": "query",
                "description": "Partial search on the id field."
              }
            ]
          },
          "docs": "Get a collection of all payor invoicing billing periods"
        },
        {
          "info": {
            "name": "Fetch multiple private pay invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/billing/periods/:billing_period_id/invoices",
            "params": [
              {
                "name": "billing_period_id",
                "value": "",
                "type": "path",
                "description": "Billing Period ID"
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of items per page."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Filter by page number."
              },
              {
                "name": "client_search",
                "value": "",
                "type": "query"
              },
              {
                "name": "invoice_search",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "Order to sort by"
              },
              {
                "name": "bill_to_party",
                "value": "",
                "type": "query"
              },
              {
                "name": "balance_from",
                "value": "",
                "type": "query"
              },
              {
                "name": "balance_to",
                "value": "",
                "type": "query"
              },
              {
                "name": "unpaid_balance",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_tags",
                "value": "",
                "type": "query"
              },
              {
                "name": "client_tag_mode",
                "value": "",
                "type": "query"
              },
              {
                "name": "program_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "program_name_search",
                "value": "",
                "type": "query"
              },
              {
                "name": "master_invoice_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Fetch multiple private pay invoices"
        },
        {
          "info": {
            "name": "Fetch multiple private pay invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.alayacare.com/ext/api/v2/accounting/billing/periods/invoice/:invoice_id/details",
            "params": [
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "Order to sort by"
              },
              {
                "name": "invoice_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Fetch multiple private pay invoices"
        }
      ]
    }
  ],
  "bundled": true
}