LexOffice.get_credit_note

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

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

View Source

Specs

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

Gets a single credit-note.

Parameters

  • id (String): CreditNote ID
  • connection (LexOffice.Connection): [optional] Connection to server

Returns

  • {:ok, %LexOffice.Model.CreditNoteResponse{}} on success
  • {:error, info} on failure