> For the complete documentation index, see [llms.txt](https://doklado-mnojd9vj.documentationai.com/llms.txt).
> Use it to discover all available pages before exploring further.

# Set accountig software settings


<PlaygroundComponent />

<AuthParams schemes={["apiKey"]}>
<AuthType scheme="apiKey">
<ParamField header="api_key" param-type="string" required="true">
API Key for authentication. Provide your API key in the header.
</ParamField>
</AuthType>
</AuthParams>

<BodyParams contentTypes={["application/json"]} defaultType="application/json">
  <ContentType type="application/json">
<ParamField showLocation="false" body="data" param-type="object" required="false">

<Expandable title="Object Properties" default-open="false">

  <ParamField showLocation="false" body="organizationId" param-type="string" required="false">
  Organization ID (IČO)
  </ParamField>

  <ParamField showLocation="false" body="accountingItems" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6Ik5ha2xhZHkifV0=">

    </ParamField>

    <ParamField showLocation="false" body="recalculate" param-type="boolean" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ZmFsc2V9XQ==">

    </ParamField>

    <ParamField showLocation="false" body="creditAccount" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6NTAyfV0=">

    </ParamField>

    <ParamField showLocation="false" body="debitAccount" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MzAyfV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IjJOIn1d">

    </ParamField>

    <ParamField showLocation="false" body="ratioAllocation" param-type="object" required="false">

    <Expandable title="Object Properties" default-open="false">

      <ParamField showLocation="false" body="recalculateVat50_50" param-type="boolean" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ZmFsc2V9XQ==">

      </ParamField>

      <ParamField showLocation="false" body="taxable" param-type="object" required="true">

      <Expandable title="Object Properties" default-open="false">

        <ParamField showLocation="false" body="value" param-type="string" required="true">

        </ParamField>

        <ParamField showLocation="false" body="ratio" param-type="number" required="true" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ODB9XQ==">

        </ParamField>

      </Expandable>
      </ParamField>

      <ParamField showLocation="false" body="nonTaxable" param-type="object" required="true">

      <Expandable title="Object Properties" default-open="false">

        <ParamField showLocation="false" body="value" param-type="string" required="true">

        </ParamField>

        <ParamField showLocation="false" body="ratio" param-type="number" required="true" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MjB9XQ==">

        </ParamField>

      </Expandable>
      </ParamField>

    </Expandable>
    </ParamField>

    <ParamField showLocation="false" body="resourceType" param-type="string" required="false" enum="receipt,invoice,other,undefined">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="numericCodes" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImRvbWVzdGljIn1d">

    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlZzZW9iZWNueSBjaXNlbG55IHJhZCJ9XQ==">

    </ParamField>

    <ParamField showLocation="false" body="paymentType" param-type="string" required="false" enum="transfer,card,cash,payment_slip,direct_debit,cash_on_delivery,promissory_note,check,document_balance_offset,undefined">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="cashRegisters" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImNhc2hfcmVnaXN0ZXIifV0=">

    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlBva2xhZG5hIEVVIn1d">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="projects" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6InByb2plY3RfWkEifV0=">

    </ParamField>

    <ParamField showLocation="false" body="note" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlN0YXZiYSBtb3N0dSJ9XQ==">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="orders" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6Im9yZGVyX2JyaWRnZSJ9XQ==">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkNPTSJ9XQ==">

    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6Im9yZGVyIDEifV0=">
    order name
    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="activities" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6Mn1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImFjdGl2aXR5X3Rlc3QifV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkpVTE8ifV0=">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="expenditureCenters" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImV4cGVuZGl0dXJlIGNlbnRlciJ9XQ==">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkVYSVQifV0=">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="generalDocumentAgendas" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImRvY3VtZW50IHR5cGUifV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkVYSVQifV0=">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="predefinedNotes" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImRvY3VtZW50IHR5cGUifV0=">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="classificationVat" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="resourceTypeFlags" param-type="array" required="false">

    </ParamField>

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImRvY3VtZW50IHR5cGUifV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkVYSVQifV0=">

    </ParamField>

    <ParamField showLocation="false" body="validFrom" param-type="string" required="false">

    </ParamField>

    <ParamField showLocation="false" body="validTo" param-type="string" required="false">

    </ParamField>

    <ParamField showLocation="false" body="isReverseCharge" param-type="boolean" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6dHJ1ZX1d">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="bankAccountInfo" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlZVQiBiYW5rIn1d">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkpVTCJ9XQ==">

    </ParamField>

    <ParamField showLocation="false" body="accountIdentification" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlNLNDU2In1d">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="classificationKVVat" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="name" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlByaWphdMOpIHpqZWRub2R1xaFlbsOpIGZha3TDunJ5IHBvZMS+YSDCpzc0Li4uIn1d">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkIzIn1d">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="purchasingRepresentatives" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6InB1cmNoYXNpbmcgcmVwcmVzZW50YXRpdmUifV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlJFRiJ9XQ==">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="approvalProcesses" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6ImFwcHJvdmFsIHByb2Nlc3MifV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IkFQMSJ9XQ==">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="paymentMethods" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IlRyYW5zZmVycmVkIn1d">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IjExMSJ9XQ==">

    </ParamField>

  </Expandable>
  </ParamField>

  <ParamField showLocation="false" body="economicObjects" param-type="array" required="false">

  <Expandable title="Array Items" default-open="false">

    <ParamField showLocation="false" body="accountingSoftwareId" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6MX1d">
    Parameter for pairing accounting setting with existing data in organization
    </ParamField>

    <ParamField showLocation="false" body="value" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6Ik1haW4gYWN0aXZpdHkifV0=">

    </ParamField>

    <ParamField showLocation="false" body="code" param-type="string" required="false" examples-b64="W3sibmFtZSI6ImV4YW1wbGUiLCJ2YWx1ZSI6IjIxIn1d">

    </ParamField>

  </Expandable>
  </ParamField>

</Expandable>
</ParamField>
  </ContentType>
</BodyParams>

<Request tabs="curl,python,javascript,go,ruby">

```bash
curl -X POST "https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/organization/accounting-settings/import" \
  -H "Content-Type: application/json" \
  -H "api_key: YOUR_API_KEY" \
  -d '{
  "data": {
    "organizationId": "example_string",
    "accountingItems": [
      {
        "accountingSoftwareId": 1,
        "value": "Naklady",
        "recalculate": false,
        "creditAccount": 502,
        "debitAccount": 302,
        "code": "2N",
        "ratioAllocation": {
          "recalculateVat50_50": false,
          "taxable": {
            "value": "example_string",
            "ratio": 80
          },
          "nonTaxable": {
            "value": "example_string",
            "ratio": 20
          }
        },
        "resourceType": "receipt"
      }
    ],
    "numericCodes": [
      {
        "accountingSoftwareId": 1,
        "value": "domestic",
        "name": "Vseobecny ciselny rad",
        "paymentType": "transfer"
      }
    ],
    "cashRegisters": [
      {
        "accountingSoftwareId": 1,
        "value": "cash_register",
        "name": "Pokladna EU"
      }
    ],
    "projects": [
      {
        "accountingSoftwareId": 1,
        "value": "project_ZA",
        "note": "Stavba mostu"
      }
    ],
    "orders": [
      {
        "accountingSoftwareId": "example_string",
        "value": "order_bridge",
        "code": "COM",
        "name": "order 1"
      }
    ],
    "activities": [
      {
        "accountingSoftwareId": 2,
        "value": "activity_test",
        "code": "JULO"
      }
    ],
    "expenditureCenters": [
      {
        "accountingSoftwareId": 1,
        "value": "expenditure center",
        "code": "EXIT"
      }
    ],
    "generalDocumentAgendas": [
      {
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT"
      }
    ],
    "predefinedNotes": [
      {
        "accountingSoftwareId": 1,
        "value": "document type"
      }
    ],
    "classificationVat": [
      {
        "resourceTypeFlags": [
          "received_receipt"
        ],
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT",
        "validFrom": "2024-12-25T10:00:00Z",
        "validTo": "2024-12-25T10:00:00Z",
        "isReverseCharge": true
      }
    ],
    "bankAccountInfo": [
      {
        "accountingSoftwareId": 1,
        "name": "VUB bank",
        "code": "JUL",
        "accountIdentification": "SK456"
      }
    ],
    "classificationKVVat": [
      {
        "accountingSoftwareId": 1,
        "name": "Prijaté zjednodušené faktúry podľa §74...",
        "code": "B3"
      }
    ],
    "purchasingRepresentatives": [
      {
        "accountingSoftwareId": 1,
        "value": "purchasing representative",
        "code": "REF"
      }
    ],
    "approvalProcesses": [
      {
        "accountingSoftwareId": 1,
        "value": "approval process",
        "code": "AP1"
      }
    ],
    "paymentMethods": [
      {
        "accountingSoftwareId": 1,
        "value": "Transferred",
        "code": "111"
      }
    ],
    "economicObjects": [
      {
        "accountingSoftwareId": 1,
        "value": "Main activity",
        "code": "21"
      }
    ]
  }
}'
```

```python
import requests
import json

url = "https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/organization/accounting-settings/import"
headers = {
  "Content-Type": "application/json",
  "api_key": "YOUR_API_KEY"
}
data = {
  "data": {
    "organizationId": "example_string",
    "accountingItems": [
      {
        "accountingSoftwareId": 1,
        "value": "Naklady",
        "recalculate": false,
        "creditAccount": 502,
        "debitAccount": 302,
        "code": "2N",
        "ratioAllocation": {
          "recalculateVat50_50": false,
          "taxable": {
            "value": "example_string",
            "ratio": 80
          },
          "nonTaxable": {
            "value": "example_string",
            "ratio": 20
          }
        },
        "resourceType": "receipt"
      }
    ],
    "numericCodes": [
      {
        "accountingSoftwareId": 1,
        "value": "domestic",
        "name": "Vseobecny ciselny rad",
        "paymentType": "transfer"
      }
    ],
    "cashRegisters": [
      {
        "accountingSoftwareId": 1,
        "value": "cash_register",
        "name": "Pokladna EU"
      }
    ],
    "projects": [
      {
        "accountingSoftwareId": 1,
        "value": "project_ZA",
        "note": "Stavba mostu"
      }
    ],
    "orders": [
      {
        "accountingSoftwareId": "example_string",
        "value": "order_bridge",
        "code": "COM",
        "name": "order 1"
      }
    ],
    "activities": [
      {
        "accountingSoftwareId": 2,
        "value": "activity_test",
        "code": "JULO"
      }
    ],
    "expenditureCenters": [
      {
        "accountingSoftwareId": 1,
        "value": "expenditure center",
        "code": "EXIT"
      }
    ],
    "generalDocumentAgendas": [
      {
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT"
      }
    ],
    "predefinedNotes": [
      {
        "accountingSoftwareId": 1,
        "value": "document type"
      }
    ],
    "classificationVat": [
      {
        "resourceTypeFlags": [
          "received_receipt"
        ],
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT",
        "validFrom": "2024-12-25T10:00:00Z",
        "validTo": "2024-12-25T10:00:00Z",
        "isReverseCharge": true
      }
    ],
    "bankAccountInfo": [
      {
        "accountingSoftwareId": 1,
        "name": "VUB bank",
        "code": "JUL",
        "accountIdentification": "SK456"
      }
    ],
    "classificationKVVat": [
      {
        "accountingSoftwareId": 1,
        "name": "Prijaté zjednodušené faktúry podľa §74...",
        "code": "B3"
      }
    ],
    "purchasingRepresentatives": [
      {
        "accountingSoftwareId": 1,
        "value": "purchasing representative",
        "code": "REF"
      }
    ],
    "approvalProcesses": [
      {
        "accountingSoftwareId": 1,
        "value": "approval process",
        "code": "AP1"
      }
    ],
    "paymentMethods": [
      {
        "accountingSoftwareId": 1,
        "value": "Transferred",
        "code": "111"
      }
    ],
    "economicObjects": [
      {
        "accountingSoftwareId": 1,
        "value": "Main activity",
        "code": "21"
      }
    ]
  }
}

response = requests.post(url, headers=headers, json=data)
print(response.json())
```

```javascript
const response = await fetch("https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/organization/accounting-settings/import", {
  method: "POST",
  headers: {
  "Content-Type": "application/json",
  "api_key": "YOUR_API_KEY"
},
  body: JSON.stringify({
  "data": {
    "organizationId": "example_string",
    "accountingItems": [
      {
        "accountingSoftwareId": 1,
        "value": "Naklady",
        "recalculate": false,
        "creditAccount": 502,
        "debitAccount": 302,
        "code": "2N",
        "ratioAllocation": {
          "recalculateVat50_50": false,
          "taxable": {
            "value": "example_string",
            "ratio": 80
          },
          "nonTaxable": {
            "value": "example_string",
            "ratio": 20
          }
        },
        "resourceType": "receipt"
      }
    ],
    "numericCodes": [
      {
        "accountingSoftwareId": 1,
        "value": "domestic",
        "name": "Vseobecny ciselny rad",
        "paymentType": "transfer"
      }
    ],
    "cashRegisters": [
      {
        "accountingSoftwareId": 1,
        "value": "cash_register",
        "name": "Pokladna EU"
      }
    ],
    "projects": [
      {
        "accountingSoftwareId": 1,
        "value": "project_ZA",
        "note": "Stavba mostu"
      }
    ],
    "orders": [
      {
        "accountingSoftwareId": "example_string",
        "value": "order_bridge",
        "code": "COM",
        "name": "order 1"
      }
    ],
    "activities": [
      {
        "accountingSoftwareId": 2,
        "value": "activity_test",
        "code": "JULO"
      }
    ],
    "expenditureCenters": [
      {
        "accountingSoftwareId": 1,
        "value": "expenditure center",
        "code": "EXIT"
      }
    ],
    "generalDocumentAgendas": [
      {
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT"
      }
    ],
    "predefinedNotes": [
      {
        "accountingSoftwareId": 1,
        "value": "document type"
      }
    ],
    "classificationVat": [
      {
        "resourceTypeFlags": [
          "received_receipt"
        ],
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT",
        "validFrom": "2024-12-25T10:00:00Z",
        "validTo": "2024-12-25T10:00:00Z",
        "isReverseCharge": true
      }
    ],
    "bankAccountInfo": [
      {
        "accountingSoftwareId": 1,
        "name": "VUB bank",
        "code": "JUL",
        "accountIdentification": "SK456"
      }
    ],
    "classificationKVVat": [
      {
        "accountingSoftwareId": 1,
        "name": "Prijaté zjednodušené faktúry podľa §74...",
        "code": "B3"
      }
    ],
    "purchasingRepresentatives": [
      {
        "accountingSoftwareId": 1,
        "value": "purchasing representative",
        "code": "REF"
      }
    ],
    "approvalProcesses": [
      {
        "accountingSoftwareId": 1,
        "value": "approval process",
        "code": "AP1"
      }
    ],
    "paymentMethods": [
      {
        "accountingSoftwareId": 1,
        "value": "Transferred",
        "code": "111"
      }
    ],
    "economicObjects": [
      {
        "accountingSoftwareId": 1,
        "value": "Main activity",
        "code": "21"
      }
    ]
  }
})
});

const data = await response.json();
console.log(data);
```

```go
package main

import (
    "fmt"
    "net/http"
    "bytes"
    "encoding/json"
)

func main() {
    data := []byte(`{
  "data": {
    "organizationId": "example_string",
    "accountingItems": [
      {
        "accountingSoftwareId": 1,
        "value": "Naklady",
        "recalculate": false,
        "creditAccount": 502,
        "debitAccount": 302,
        "code": "2N",
        "ratioAllocation": {
          "recalculateVat50_50": false,
          "taxable": {
            "value": "example_string",
            "ratio": 80
          },
          "nonTaxable": {
            "value": "example_string",
            "ratio": 20
          }
        },
        "resourceType": "receipt"
      }
    ],
    "numericCodes": [
      {
        "accountingSoftwareId": 1,
        "value": "domestic",
        "name": "Vseobecny ciselny rad",
        "paymentType": "transfer"
      }
    ],
    "cashRegisters": [
      {
        "accountingSoftwareId": 1,
        "value": "cash_register",
        "name": "Pokladna EU"
      }
    ],
    "projects": [
      {
        "accountingSoftwareId": 1,
        "value": "project_ZA",
        "note": "Stavba mostu"
      }
    ],
    "orders": [
      {
        "accountingSoftwareId": "example_string",
        "value": "order_bridge",
        "code": "COM",
        "name": "order 1"
      }
    ],
    "activities": [
      {
        "accountingSoftwareId": 2,
        "value": "activity_test",
        "code": "JULO"
      }
    ],
    "expenditureCenters": [
      {
        "accountingSoftwareId": 1,
        "value": "expenditure center",
        "code": "EXIT"
      }
    ],
    "generalDocumentAgendas": [
      {
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT"
      }
    ],
    "predefinedNotes": [
      {
        "accountingSoftwareId": 1,
        "value": "document type"
      }
    ],
    "classificationVat": [
      {
        "resourceTypeFlags": [
          "received_receipt"
        ],
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT",
        "validFrom": "2024-12-25T10:00:00Z",
        "validTo": "2024-12-25T10:00:00Z",
        "isReverseCharge": true
      }
    ],
    "bankAccountInfo": [
      {
        "accountingSoftwareId": 1,
        "name": "VUB bank",
        "code": "JUL",
        "accountIdentification": "SK456"
      }
    ],
    "classificationKVVat": [
      {
        "accountingSoftwareId": 1,
        "name": "Prijaté zjednodušené faktúry podľa §74...",
        "code": "B3"
      }
    ],
    "purchasingRepresentatives": [
      {
        "accountingSoftwareId": 1,
        "value": "purchasing representative",
        "code": "REF"
      }
    ],
    "approvalProcesses": [
      {
        "accountingSoftwareId": 1,
        "value": "approval process",
        "code": "AP1"
      }
    ],
    "paymentMethods": [
      {
        "accountingSoftwareId": 1,
        "value": "Transferred",
        "code": "111"
      }
    ],
    "economicObjects": [
      {
        "accountingSoftwareId": 1,
        "value": "Main activity",
        "code": "21"
      }
    ]
  }
}`)

    req, err := http.NewRequest("POST", "https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/organization/accounting-settings/import", bytes.NewBuffer(data))
    if err != nil {
        panic(err)
    }

    req.Header.Set("Content-Type", "application/json")
    req.Header.Set("api_key", "YOUR_API_KEY")

    client := &http.Client{}
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    fmt.Println("Response Status:", resp.Status)
}
```

```ruby
require 'net/http'
require 'json'

uri = URI('https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/organization/accounting-settings/import')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['api_key'] = 'YOUR_API_KEY'
request.body = '{
  "data": {
    "organizationId": "example_string",
    "accountingItems": [
      {
        "accountingSoftwareId": 1,
        "value": "Naklady",
        "recalculate": false,
        "creditAccount": 502,
        "debitAccount": 302,
        "code": "2N",
        "ratioAllocation": {
          "recalculateVat50_50": false,
          "taxable": {
            "value": "example_string",
            "ratio": 80
          },
          "nonTaxable": {
            "value": "example_string",
            "ratio": 20
          }
        },
        "resourceType": "receipt"
      }
    ],
    "numericCodes": [
      {
        "accountingSoftwareId": 1,
        "value": "domestic",
        "name": "Vseobecny ciselny rad",
        "paymentType": "transfer"
      }
    ],
    "cashRegisters": [
      {
        "accountingSoftwareId": 1,
        "value": "cash_register",
        "name": "Pokladna EU"
      }
    ],
    "projects": [
      {
        "accountingSoftwareId": 1,
        "value": "project_ZA",
        "note": "Stavba mostu"
      }
    ],
    "orders": [
      {
        "accountingSoftwareId": "example_string",
        "value": "order_bridge",
        "code": "COM",
        "name": "order 1"
      }
    ],
    "activities": [
      {
        "accountingSoftwareId": 2,
        "value": "activity_test",
        "code": "JULO"
      }
    ],
    "expenditureCenters": [
      {
        "accountingSoftwareId": 1,
        "value": "expenditure center",
        "code": "EXIT"
      }
    ],
    "generalDocumentAgendas": [
      {
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT"
      }
    ],
    "predefinedNotes": [
      {
        "accountingSoftwareId": 1,
        "value": "document type"
      }
    ],
    "classificationVat": [
      {
        "resourceTypeFlags": [
          "received_receipt"
        ],
        "accountingSoftwareId": 1,
        "name": "document type",
        "code": "EXIT",
        "validFrom": "2024-12-25T10:00:00Z",
        "validTo": "2024-12-25T10:00:00Z",
        "isReverseCharge": true
      }
    ],
    "bankAccountInfo": [
      {
        "accountingSoftwareId": 1,
        "name": "VUB bank",
        "code": "JUL",
        "accountIdentification": "SK456"
      }
    ],
    "classificationKVVat": [
      {
        "accountingSoftwareId": 1,
        "name": "Prijaté zjednodušené faktúry podľa §74...",
        "code": "B3"
      }
    ],
    "purchasingRepresentatives": [
      {
        "accountingSoftwareId": 1,
        "value": "purchasing representative",
        "code": "REF"
      }
    ],
    "approvalProcesses": [
      {
        "accountingSoftwareId": 1,
        "value": "approval process",
        "code": "AP1"
      }
    ],
    "paymentMethods": [
      {
        "accountingSoftwareId": 1,
        "value": "Transferred",
        "code": "111"
      }
    ],
    "economicObjects": [
      {
        "accountingSoftwareId": 1,
        "value": "Main activity",
        "code": "21"
      }
    ]
  }
}'

response = http.request(request)
puts response.body
```

</Request>

### Responses

<div data-component="ResponsesCollection"><Expandable title="200 - Successful operation" default-open="true">

<ResponseField name="data" field-type="object" required="false">

</ResponseField>

<ResponseField name="success" field-type="boolean" required="false">

</ResponseField>

<ResponseField name="message" field-type="string" required="false">
optional message to help user understand error code
</ResponseField>

<ResponseField name="code" field-type="string" required="false" enum="APP_UNAUTHENTICATED,APP_INCORRECT_INPUT_DATA,SAVE_DATA_ERROR_CODE">

</ResponseField>

</Expandable>

<Expandable title="403 - Not authorized" default-open="false">

*Not authorized*

</Expandable>

<Expandable title="404 - Not found" default-open="false">

*Not found*

</Expandable>

<Expandable title="500 - Server invocation error" default-open="false">

*Server invocation error*

</Expandable>

</div>

<Response tabs={["200","403","404","500"]} dropdown="true">

```json
{
  "data": {},
  "success": true,
  "message": "example_string",
  "code": "APP_UNAUTHENTICATED"
}
```

```json
{
  "error": "Forbidden",
  "message": "You don't have permission to access this resource",
  "code": 403
}
```

```json
{
  "error": "Not Found",
  "message": "The requested resource was not found",
  "code": 404
}
```

```json
{
  "error": "Internal Server Error",
  "message": "An unexpected error occurred on the server",
  "code": 500,
  "requestId": "req_1234567890"
}
```

</Response>

