Invoice resource helpers for QuickBooks.
Summary
Functions
Creates an invoice.
Fetches an invoice by ID.
Lists invoices, optionally filtered with a WHERE clause and query pagination.
Updates an invoice.
Functions
@spec create(ExQuickbooks.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Creates an invoice.
@spec get(ExQuickbooks.Client.t(), String.t() | integer(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Fetches an invoice by ID.
@spec list( ExQuickbooks.Client.t(), keyword() ) :: {:ok, [map()]} | {:error, ExQuickbooks.Error.t()}
Lists invoices, optionally filtered with a WHERE clause and query pagination.
@spec update(ExQuickbooks.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Updates an invoice.