Rivier/ Reference/ accounting

Send a document as an e-invoice through the connection of the workspace

post/accounting/e-invoice/{id}/send

Send a document as an e-invoice through the connection of the workspace; a test workspace sends through the test provider.

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:write
Sdk
accounting.einvoice.send
Cli
accounting einvoice send

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • kindstring
    One of: invoice, credit_note. Default: invoice.
  • providerstring
    Pattern: ^[a-z0-9-]{1,40}$.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown