LexOffice.create_invoice
You're seeing just the function
create_invoice
, go back to LexOffice module for more information.
Specs
create_invoice( LexOffice.Model.CreateInvoice.t(), keyword(), Tesla.Env.client() | nil ) :: {:ok, LexOffice.Model.InvoiceResponse.t()} | {:error, Tesla.Env.t()}
Create a new invoice.
Parameters
- invoice (LexOffice.Model.CreateInvoice): Invoice data
- opts (KeywordList): [optional] Optional parameters
- connection (LexOffice.Connection): [optional] Connection to server
Returns
{:ok, %LexOffice.Model.InvoiceResponse{}}
on success{:error, info}
on failure