Skip to content

Client invoices

Invoices to clients. Only drafts can be modified; DELETE deletes a draft and cancels an issued invoice.

Module: Cashier (invoices).

  • GET /api/v1/invoices - List with filters, sorting and pagination (scope invoices:read)
  • GET /api/v1/invoices/{id} - A record by id (scope invoices:read)
  • POST /api/v1/invoices - Create a record (scope invoices:write)
  • PATCH /api/v1/invoices/{id} - Modify the submitted fields (scope invoices:write)
  • DELETE /api/v1/invoices/{id} - Delete or deactivate (scope invoices:write)
  • POST /api/v1/invoices/{id}/issue - Issues the invoice from the draft, according to the company’s invoicing setting: in the app, with e-Factura, or in SmartBill. It cannot easily be withdrawn. (scope invoices:write)
  • POST /api/v1/invoices/{id}/mark_issued - Marks as issued an invoice numbered elsewhere. It sends nothing to ANAF. (scope invoices:write)
  • POST /api/v1/invoices/{id}/credit - Full reversal draft for an issued invoice, without payments. (scope invoices:write)
  • POST /api/v1/invoices/{id}/add_payment - Records a payment on the issued invoice. (scope invoices:write)
  • POST /api/v1/invoices/{id}/delete_payment - Deletes an invoice payment. (scope invoices:write)
  • POST /api/v1/invoices/{id}/send_email - Sends the issued invoice to the client’s email, from the company’s SMTP. (scope invoices:write)
  • POST /api/v1/invoices/{id}/use_points - Pune punctele clientului ca reducere pe o ciornă de factură, împărțită pe cotele de TVA. (scope invoices:write)
  • POST /api/v1/invoices/{id}/remove_points - Scoate reducerea din puncte de pe o ciornă; punctele se întorc clientului. (scope invoices:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • party_id (string, uuid; write, required)
  • status (string; read)
  • issue_date (string, date; write)
  • due_date (string, date; write)
  • currency (string; write): Currency (ISO code, e.g. RON).
  • note (string; write)
  • series (string; read)
  • number (string; read)
  • provider (string; read)
  • external_url (string; read)
  • issued_at (string, date-time; read)
  • cancelled_at (string, date-time; read)
  • created_by (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • credit_for (string, uuid; read)
  • reversed_by (string, uuid; read)
  • proforma_id (string, uuid; read)
  • intra_eu (boolean; write)
  • reverse_charge (boolean; write)
  • exchange_rate (number; write)
  • legal_entity_id (string; write)
  • is_advance (boolean; read)
  • rate_date (string, date; write)
  • warehouse_id (string, uuid; write)
  • stock_document_id (string, uuid; read)
  • series_choice (string; write)
  • lines (array; write, required)
  • invoices.created
  • invoices.updated
  • invoices.deleted