LexOffice.download_invoice

You're seeing just the function download_invoice, go back to LexOffice module for more information.
Link to this function

download_invoice(id, client \\ Connection.new())

View Source

Specs

download_invoice(String.t(), Tesla.Env.client() | nil) ::
  {:ok, LexOffice.Model.InvoiceResponse.t()} | {:error, Tesla.Env.t()}

Downloads 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