Skip to main content
PUT
Update an invoice account

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.

Yol Parametreleri

id
integer
gerekli

The invoice account identifier

Gövde

application/json
party_type
enum<string>
gerekli

Whether the account belongs to an individual or a company.

Mevcut seçenekler:
individual,
company
tax_number
string
gerekli

Tax number (VKN) or Turkish identity number (TCKN).

Maximum string length: 11
document_type
enum<string>
gerekli

Whether the account issues e-invoices or e-vouchers (e-SMM).

Mevcut seçenekler:
einvoice,
evoucher
integration_id
string

The integrator of an existing account cannot be changed.

name
string | null

First name, required for an individual.

Maximum string length: 255
surname
string | null

Last name, required for an individual.

Maximum string length: 255
title
string | null

Company title, required for a company.

Maximum string length: 255
tax_office
string | null

Tax office name.

Maximum string length: 255
country_id
integer | null

The country identifier.

city_id
integer | null

The city identifier; must belong to country_id.

district_id
integer | null

The district identifier; must belong to city_id.

address
string | null

Street address.

Maximum string length: 1000
phone
string | null

Phone number.

Maximum string length: 255
email
string<email> | null

Email address.

Maximum string length: 255
use_vat_exemption
boolean | null

Whether invoices of this account apply the VAT exemption by default.

withholding_rate_percent
number | null

Default withholding rate in percent (0-100).

Gerekli aralık: 0 <= x <= 100
default_apply_withholding
boolean | null

Whether new invoices of this account apply withholding by default.

extra_fields
object | null

Integrator credentials keyed by the integration's required_fields[].key (e.g. {"API_KEY": "..."}). A key left out keeps its stored value; values are stored encrypted and never returned.

Yanıt

success
string
gerekli
data
InvoiceAccountResource · object
gerekli