Draft a supplier bill; it reaches the books when a person approves it
post/accounting/bills
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:write- Mcp
rivier_accounting_bill_draft- Graphql
Mutation.accountingDraftBill- Sdk
accounting.bill.draft- Cli
accounting bill draft
Request bodyapplication/json, required
- supplierIdstring (uuid)required
- numberstringDefault: . At most 80 characters.
- currencystringPattern: ^[a-z]{3}$.
- issueDatestringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- dueDatestringPattern: ^\d{4}-\d{2}-\d{2}$.
- lineslist of objectrequired
- descriptionstringrequiredAt most 300 characters.
- accountstringrequiredexpense or asset account code At most 40 characters.
- netMinorintegerrequiredAt least 0. At most 99999999999.
- taxRateBpintegerDefault: 0. At least 0. At most 10000.
- taxCategorystringOne of: S, Z, E, AE, K, G, O, L, M. Default: S.
- descriptionstringrequired
- poKindstringAt most 40 characters.
- poIdstringAt most 120 characters.
- receiptIdstring (uuid)
- memostringDefault: . At most 500 characters.
- idempotencyKeystringrequiredAt most 120 characters.
Responses
- 201application/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