Zum Hauptinhalt springen
PUT
/
accounting
/
accounts
/
{id}
cURL
curl -X PUT \
 /accounting/accounts/{id} \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "name": "",
    "number": ""
}'
{
  "id": "f3b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b",
  "name": "Bankkonto",
  "number": "1200",
  "type": "revenueGermany"
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Pfadparameter

id
string
erforderlich

AccountingAccount identifier

Body

The updated AccountingAccount resource

name
string
erforderlich

The name of the account

number
string
erforderlich

The number of the account

Antwort

AccountingAccount resource updated

id
object
Beispiel:

"f3b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b"

name
string | null

Account name used for internal labeling.

Beispiel:

"Bankkonto"

number
string

Account number from your used skr 03 or skr 04 chart of accounts.

Beispiel:

"1200"

type
enum<string>

Type of account which references to the chart of accounts.

Verfügbare Optionen:
bankAccount,
ledgerAccount,
revenueGermany,
revenueGermanyReduced,
salesDeductionAccount,
revenueEurope,
revenueTaxFree,
bankFees,
passiveDeferral,
debtor,
paypal,
stripe,
sepaDebit,
goCardless
Beispiel:

"revenueGermany"