defmodule Frex.Client.Receipts do @moduledoc """ Client module for interacting with the Freshbooks receipts endpoint. """ # use Frex.Endpoint, :client # @doc """ # Sends a get request to the Freshbooks API receipts endpoint. # Gets information for a specified receipt. # ## Parameters # * `expense_id` (**required**) -- expense ID for receipt # """ # TODO: Get receipts to work. # def get(credentials, expense_id) do # "receipt.get" # |> Request.build({:expense_id, %{}, expense_id}) # |> HTTP.request!(credentials) # end end