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)requiredIn the path
Request bodyapplication/json, required
- kindstringOne of: invoice, credit_note. Default: invoice.
- providerstringPattern: ^[a-z0-9-]{1,40}$.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring