LexOffice.get_invoice
You're seeing just the function
get_invoice
, go back to LexOffice module for more information.
Specs
get_invoice(String.t(), Tesla.Env.client() | nil) :: {:ok, LexOffice.Model.InvoiceDetailsResponse.t()} | {:error, Tesla.Env.t()}
Gets a single invoice
Parameters
- id (String): Invoice ID
- connection (LexOffice.Connection): [optional] Connection to server
Returns
{:ok, %LexOffice.Model.InvoiceResponse{}}
on success{:error, info}
on failure