def METHOD_NAME(billing_account_name: str, invoice_name: str, **kwargs: Any) -> HttpRequest:
    _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
    _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
    api_version = kwargs.pop("api_version", _params.pop("api-version", "2020-05-01"))  # type: Literal["2020-05-01"]
    accept = _headers.pop("Accept", "application/json")
    # Construct URL
    _url = kwargs.pop(
        "template_url",
        "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions",
    )  # pylint: disable=line-too-long
    path_format_arguments = {
        "billingAccountName": _SERIALIZER.url("billing_account_name", billing_account_name, "str"),
        "invoiceName": _SERIALIZER.url("invoice_name", invoice_name, "str"),
    }
    _url = _format_url_section(_url, **path_format_arguments)
    # Construct parameters
    _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
    # Construct headers
    _headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
    return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)