Skip to main content
PUT
Update accounting settings

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
default_tax_rate
enum<integer> | null

The default tax rate.

Mevcut seçenekler:
0,
1,
10,
20,
null
override_sale_tax_rate
boolean

Whether sale/offer line items should use the tenant default tax rate instead of the product/treatment rate.

preserve_item_total_price
boolean

Whether the total price typed on a sale/offer line item is preserved exactly, with the rounding delta absorbed by the tax amount instead of the total.

stock_deduction_mode
enum<string>

When stock is deducted for sold products: on_invoice, on_mark or never.

Mevcut seçenekler:
on_invoice,
on_mark,
never
default_invoice_account_id
integer | null

The invoice account preselected when a sale is invoiced and its doctor has no preference. Must belong to the tenant.

Gerekli aralık: x >= 1

Yanıt

success
string
gerekli
data
object
gerekli