The details retrieved by this operation include the following key elements:
- Default Accounts (e.g., Customer, Supplier, Bank)
- Sub-account maximum length
- Tax regime and annual accounts model
HTTP | Operation | Type | Object |
---|---|---|---|
Query | organizationAccountingSetupByOrgId |
The details retrieved by this operation include the following key elements:
query ($id: ID!) {
organizationAccountingSetupByOrgId(id: $id) {
defaultCustomersAccountId
defaultSuppliersAccountId
subAccountingLength
taxRegime
annualAccountsModel
##COMINGSOON##
defaultBankAccountId
defaultBankJournalTypeId
defaultCashAccountId
defaultCashJournalTypeId
defaultInputVATAccountId
defaultOutputVATAccountId
defaultSaleProductsAccountId
defaultProfitAccountCFId
defaultLossAccountCFId
defaultOpeningAccountCFId
defaultOpeningJournalCFId
intracommunityAccountId
foreignAccountId
openItemsAutomaticAllocation
}
}
{
"id":"{{X-OrganizationId}}"
}
{
{
"data": {
"organizationAccountingSetupByOrgId": {
"defaultCustomersAccountId": "e770b78c-0135-4f63-b875-b8bace1b4c8f",
"defaultSuppliersAccountId": "e770b78b-ffaa-4f63-b875-b8bace1b4c8f",
"subAccountingLength": 6,
"taxRegime": "GENERAL",
"annualAccountsModel": "UNDEFINED",
##COMINGSOON##,
"defaultBankAccountId": "136a9510-94cb-4d49-b205-39718346cba8",
"defaultBankJournalTypeId": "136a9510-7cba-4d49-b205-39718346cba8",
"defaultCashAccountId": "136a9510-9231-4d49-b205-39718346cba8",
"defaultCashJournalTypeId": "136a9510-7cbf-4d49-b205-39718346cba8",
"defaultInputVATAccountId": "136a9510-9333-4d49-b205-39718346cba8",
"defaultOutputVATAccountId": "136a9510-91ff-4d49-b205-39718346cba8",
"defaultSaleProductsAccountId": "136a9510-93d6-4d49-b205-39718346cba8",
"defaultSuppliersAccountId": "136a9510-92c6-4d49-b205-39718346cba8",
"defaultProfitAccountCFId": "e770b78c-1337-4f63-b875-b8bace1b4c8f",
"defaultLossAccountCFId": "e770b78c-7337-4f63-b875-b8bace1b4c8f",
"defaultOpeningAccountCFId": "e770b78c-3337-4f63-b875-b8bace1b4c8f",
"defaultOpeningJournalCFId": "e770b78c-9337-4f63-b875-b8bace1b4c8f",
"intracommunityAccountId": "e770b78c-5337-4f63-b875-b8bace1b4c8f",
"foreignAccountId": "e770b78c-6337-4f63-b875-b8bace1b4c8f",
"openItemsAutomaticAllocation": true
}
}
}
}
Key | Value |
---|---|
Authorization |
Bearer Current access Token How to find? |
X-TenantId |
Current tenant id How to find? |
X-OrganizationId |
Current organization Id How to find? |
x-api-key |
Primary or secondary subscription key of your app How to find? |
Fields | Type | Description |
---|---|---|
id | UUID | Id |
organizationId | UUID | Organization Id |
organizationSocialName | String | Business name |
defaultCustomersAccountId | UUID | Customer account Id |
defaultSuppliersAccountId | UUID | Supplier account Id |
subAccountingLength | Decimal | Sub accounts max length (max 13) |
taxRegime |
|
Tax regime |
annualAccountsModel |
|
Annual accounts model |
defaultBankAccountId | UUID | Default bank account Id |
defaultBankJournalTypeId | UUID | Default bank journal type Id |
defaultCashAccountId | UUID | Default cash account Id |
defaultCashJournalTypeId | UUID | Default cash journal type Id |
defaultInputVATAccountId | UUID | Default input VAT account Id |
defaultOutputVATAccountId | UUID | Default output VAT account Id |
defaultPurchaseProductsAccountId | UUID | Default purchase products account Id |
defaultSaleProductsAccountId | UUID | Default sale products account Id |
defaultProfitAccountCFId | UUID | Default profit account Carry Forward Id |
defaultLossAccountCFId | UUID | Default loss account Carry Forward Id |
defaultOpeningAccountCFId | UUID | Default opening account Carry Forward Id |
defaultOpeningJournalCFId | UUID | Default opening journal Carry Forward Id |
intracommunityAccountId | UUID | Intracommunity account Id |
foreignAccountId | UUID | Foreign account Id |
openItemsAutomaticAllocation | Boolean | Open items automatic allocation |
Not used for Germany.
Not used for Spain.
Not used for France.