> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maesn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create account

## Field support per integration

<AccordionGroup>
  <Accordion title="Exact Online" icon={<div dangerouslySetInnerHTML={{__html: `<svg width="24" height="24" viewBox="0 0 842 179" transform="translate(-7,-4)" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="M.06.529h841.83V178.94H.06z"/></defs><g fill="none" fill-rule="evenodd"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><path fill="#D9252A" mask="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/accounts#b)" d="M112.97 58.348H0v33.794h128.574V58.348H112.97M111.616 116.693H0v33.794h16.958v-.001h94.658v.001h16.958v-33.794h-16.958M566.017 146.261h-50.69c-8.447 0-13.465-4.492-13.465-12.677 0-8.181 5.018-12.668 13.465-12.668h50.69v25.345zM542.521 29.045h-46.878v-.001h-20.734v33.791h20.734v-.001h44.761c20.032 0 25.448 7.694 25.603 25.346H513.74c-30.887 0-47.784 15.84-47.784 45.404 0 29.31 16.897 45.414 47.784 45.414h82.11l.032-.002h6.566v-92.13c0-39.079-14.785-57.821-59.927-57.821zM732.45 145.204h-42.503c-22.97 0-31.424-11.086-31.424-41.181 0-30.094 8.454-41.185 31.424-41.185h41.973l.065-.003h6.556V29.044h-52.293c-46.724 0-64.681 23.233-64.681 74.979 0 51.742 17.957 74.973 64.681 74.973h52.796v-33.791h-6.562l-.032-.001M269.888 145.205h-39.992c-19.092 0-27.963-6.758-30.417-23.753h59.03v.022h20.732v-6.021c.014-.2.026-.401.026-.609V94.253c0-.207-.012-.409-.026-.609v-5.961h-5.827a8.685 8.685 0 0 0-.747-.033h-73.324c2.254-17.607 11.101-24.815 30.553-24.815h60.194V29.044h-18.099v.003h-45.789c-46.733 0-64.677 23.228-64.677 74.973 0 51.741 17.944 74.979 64.677 74.979h57.819c.022 0 .043-.002.065-.003h6.535v-33.791h-20.733M835.286 145.205H805.98c-7.125 0-11.358-5.012-11.358-13.99v-68.38h44.091V29.047h-44.091V.529h-36.426v133.323c0 30.894 14.521 45.147 44.616 45.147h32.474l.066-.003h6.538v-33.791h-6.604M456.904 172.136l-53.323-70.381 49.893-65.848v-.001l5.199-6.862h-42.787l-3.597 4.749-.001.001-30.095 39.725-30.1-39.725-.001-.002-3.598-4.748h-44.367l55.879 73.758-57.729 76.197 14.575-.003h28.211l3.598-4.747.002-.002 32.737-43.209 32.738 43.209v.001l3.598 4.748h44.367l-5.199-6.86"/></g></svg>`,}}/>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
      You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
    </Note>

    Supported Request Parameters:

    <ResponseField name="code" type="string" required />

    <ResponseField name="description" type="string" required />

    <ResponseField name="type" type="string" required>
      Available options:
      `CASH`, `BANK`, `CREDIT_CARD`, `PAYMENT_PROVIDER`, `ACCOUNTS_RECEIVABLE`, `PRE_PAYMENT`, `ACCOUNTS_PAYABLE`, `VAT`,
      `EMPLOYEES_PAYABLE`, `PREPAID_EXPENSES`, `ACCRUED_EXPENSES`, `INCOME_TAX_PAYABLE`, `FIXED_ASSET`, `NON_CURRENT_ASSET`,
      `DEPRECIATION`, `INVENTORY`, `EQUITY`, `RETAINED_EARNINGS`, `LONG_TERM_LIABILITY`, `CURRENT_LIABILITY`, `OTHER`, `TAX_PAYABLE`,
      `REVENUE`, `COST_OF_GOODS_SOLD`, `OTHER_EXPENSE`, `OVERHEADS`, `DEPRECIATION`, `RESEARCH_AND_DEVELOPMENT`, `EMPLOYEE_COSTS`, `EMPLOYMENT_COSTS`,
      `EXCEPTIONAL_COSTS`, `EXCEPTIONAL_INCOME`, `INCOME_TAXES`, `INTEREST_INCOME`, `YEAR_END_REFLECTION`, `INDIRECT_YEAR_END_COSTING`, `DIRECT_YEAR_END_COSTING`
    </ResponseField>
  </Accordion>

  <Accordion title="fortnox" icon={<svg width="24" height="24" transform="translate(-7,-4)" viewBox="0 0 942 942" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="942" height="942" fill="#023826"/><path d="M187.3 399.302H148.877C122.135 399.302 104 417.437 104 444.179V540.388C104 543.155 105.537 544.692 108.303 544.692H129.666C132.433 544.692 133.969 543.155 133.969 540.388V500.429H187.453C190.22 500.429 191.757 498.892 191.757 496.126V475.685C191.757 472.919 190.22 471.382 187.453 471.382H133.816V443.411C133.816 434.497 139.81 428.503 148.724 428.503H187.3C190.066 428.503 191.603 426.966 191.603 424.199V403.605C191.603 400.839 190.066 399.302 187.3 399.302Z" fill="white"/><path d="M260.916 424.971C225.568 424.971 200.209 451.713 200.209 485.985C200.209 520.258 225.721 547 260.916 547C296.111 547 321.623 520.258 321.623 485.985C321.623 451.713 296.265 424.971 260.916 424.971ZM260.916 518.26C242.781 518.26 229.41 504.735 229.41 485.985C229.41 467.235 242.627 453.711 260.916 453.711C279.205 453.711 292.423 467.235 292.423 485.985C292.423 504.735 279.205 518.26 260.916 518.26Z" fill="white"/><path d="M467.167 427.121H430.742V399.303C430.742 396.537 429.205 395 426.439 395H405.076C402.31 395 400.773 396.537 400.773 399.303V427.121H375.107C348.519 427.121 330.229 445.256 330.229 471.998V540.39C330.229 543.156 331.766 544.693 334.533 544.693H355.896C358.662 544.693 360.199 543.156 360.199 540.39V471.076C360.199 462.162 366.193 456.168 375.107 456.168H400.773V499.816C400.773 526.558 418.908 544.693 445.65 544.693H467.013C469.779 544.693 471.316 543.156 471.316 540.39V519.949C471.316 517.183 469.779 515.646 467.013 515.646H445.804C436.89 515.646 430.896 509.652 430.896 500.738V456.168H467.32C470.087 456.168 471.624 454.631 471.624 451.865V431.424C471.47 428.504 469.933 427.121 467.167 427.121Z" fill="white"/><path d="M533.558 424.971C501.283 424.971 480.074 445.719 480.074 477.379V540.545C480.074 543.311 481.611 544.848 484.377 544.848H505.74C508.506 544.848 510.043 543.311 510.043 540.545V477.379C510.043 463.086 519.418 453.864 533.558 454.018C547.697 453.864 557.072 462.932 557.072 477.379V540.545C557.072 543.311 558.609 544.848 561.376 544.848H582.738C585.505 544.848 587.042 543.311 587.042 540.545V477.379C587.042 445.719 565.833 424.971 533.558 424.971Z" fill="white"/><path d="M656.36 424.971C621.012 424.971 595.653 451.713 595.653 485.985C595.653 520.258 621.165 547 656.36 547C691.709 547 717.068 520.258 717.068 485.985C717.068 451.713 691.555 424.971 656.36 424.971ZM656.36 518.26C638.225 518.26 624.854 504.735 624.854 485.985C624.854 467.235 638.071 453.711 656.36 453.711C674.496 453.711 687.867 467.235 687.867 485.985C687.867 504.735 674.496 518.26 656.36 518.26Z" fill="white"/><path d="M797.753 485.675L835.561 447.867C837.559 445.87 837.559 443.872 835.561 441.874L820.653 426.966C818.655 424.968 816.657 424.968 814.659 426.966L776.852 464.773L739.044 426.966C737.046 424.968 735.048 424.968 733.05 426.966L718.142 441.874C716.144 443.872 716.144 445.87 718.142 447.867L755.95 485.675L717.835 523.483C715.837 525.481 715.837 527.478 717.835 529.476L732.743 544.384C734.741 546.382 736.739 546.382 738.737 544.384L776.544 506.577L814.352 544.384C816.35 546.382 818.348 546.382 820.346 544.384L835.253 529.476C837.251 527.478 837.251 525.481 835.253 523.483L797.753 485.675Z" fill="white"/></svg>}>
    Supported Request Parameters:

    <ResponseField name="number" type="string" required />

    <ResponseField name="description" type="string" required />

    <ResponseField name="status" type="enum">
      Available options:
      `ACTIVE`, `ARCHIVED`
    </ResponseField>
  </Accordion>

  <Accordion title="Odoo" icon={<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 919 495"><path d="M695,346a75,75,0,1,1,75-75A75,75,0,0,1,695,346Zm0-31a44,44,0,1,0-44-44A44,44,0,0,0,695,315ZM538,346a75,75,0,1,1,75-75A75,75,0,0,1,538,346Zm0-31a44,44,0,1,0-44-44A44,44,0,0,0,538,315Zm-82-45c0,41.9-33.6,76-75,76s-75-34-75-75.9S336.5,196,381,196c16.4,0,31.6,3.5,44,12.6V165.1c0-8.3,7.3-15.1,15.5-15.1s15.5,6.8,15.5,15.1Zm-75,45a44,44,0,1,0-44-44A44,44,0,0,0,381,315Z" fill="#8f8f8f"/><path d="M224,346a75,75,0,1,1,75-75A75,75,0,0,1,224,346Zm0-31a44,44,0,1,0-44-44A44,44,0,0,0,224,315Z" fill="#714b67"/></svg>}>
    <br />

    Supported Request Fields:

    <ResponseField name="balance" type="number" />

    <ResponseField name="class" type="string" required>
      Available options:
      `ASSET`, `EQUITY`, `EXPENSE`, `LIABILITY`, `REVENUE`
    </ResponseField>

    <ResponseField name="code" type="string" required />

    <ResponseField name="description" type="string" />

    <ResponseField name="name" type="string" required />

    <ResponseField name="status" type="enum" required>
      Available options:
      `ACTIVE`, `ARCHIVED`
    </ResponseField>
  </Accordion>

  <Accordion title="Sage Active" icon={<svg width="24" height="24" version="1.1" viewBox="0 0 64.916 36.474" transform="translate(-7, -4)" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><g transform="translate(-2.537 -2.8329)"> <path id="sagebrilliantgreen" d="m42.319 39.26c-3.0104-0.40304-5.5018-2.3048-6.3487-4.8463-0.7115-2.1351-0.29178-3.7854 0.99978-3.931 0.5839-0.0658 0.96322 0.0395 1.3276 0.36876 0.37332 0.33727 0.47035 0.58805 0.55232 1.4275 0.23999 2.4579 2.0531 4.1078 4.5142 4.1078 0.88774 0 1.4409-0.12 2.1886-0.4748 1.4464-0.68633 2.2122-1.9936 2.126-3.6289-0.0578-1.0949-0.51205-1.9292-1.4237-2.6145-0.71222-0.53539-1.6947-0.98461-3.5466-1.6216-2.5625-0.8814-3.7248-1.4462-4.8169-2.3406-2.0308-1.6631-2.7999-4.7189-1.9042-7.5653 0.38225-1.2147 0.88948-2.0471 1.8226-2.9912 1.3922-1.4084 3.2044-2.1325 5.3309-2.1301 3.8368 4e-3 6.9493 2.3836 7.6514 5.8486 0.10943 0.54004 0.13188 0.94847 0.0949 1.7257-0.0763 1.6019-0.47182 2.7477-1.1998 3.4757-0.81819 0.81819-2.0739 0.67324-2.5635-0.29591-0.24407-0.48315-0.23774-0.77166 0.0307-1.3996 0.40037-0.93635 0.54077-1.4792 0.54077-2.0908 0-1.1749-0.39365-2.1581-1.2005-2.9983-0.59144-0.61592-1.2515-0.99028-2.152-1.2206-2.3152-0.59214-4.5572 0.583-5.2915 2.7735-0.26089 0.77834-0.26172 1.9594-2e-3 2.6895 0.24387 0.68523 0.69844 1.3238 1.271 1.7854 0.64509 0.52009 2.0705 1.2074 3.6495 1.7599 2.5504 0.89231 3.415 1.2957 4.4994 2.0993 1.1089 0.8218 1.7792 1.7719 2.2021 3.1214 0.17061 0.54446 0.1981 0.80796 0.19846 1.902 3.4e-4 1.0684-0.03 1.3748-0.19097 1.9303-0.7533 2.5991-2.7651 4.4237-5.5256 5.0114-0.75112 0.1599-2.1148 0.21884-2.8343 0.12251zm-33.521-11.343c-3.049-0.48096-5.3665-2.4127-6.0762-5.0648-0.22532-0.842-0.24381-2.341-0.0392-3.1786 0.29877-1.2232 1.0201-2.2799 1.7121-2.5083 0.58548-0.19323 1.3566 0.0701 1.742 0.59482 0.30023 0.40877 0.28982 0.89449-0.03722 1.7364-0.36488 0.9393-0.43625 1.4377-0.31475 2.1982 0.24708 1.5464 1.3442 2.7377 2.9579 3.2117 0.64754 0.1902 1.8839 0.17828 2.5352-0.0244 2.2832-0.71061 3.3018-3.1729 2.1872-5.2872-0.54776-1.0391-1.791-1.8348-4.3292-2.7709-2.7129-1.0005-3.7219-1.5558-4.8368-2.662-0.87184-0.86499-1.284-1.5567-1.5738-2.6416-0.2512-0.94017-0.25117-2.5946 5.6e-5 -3.5391 0.5163-1.9412 1.8012-3.5094 3.606-4.4011 1.0912-0.53915 2.0321-0.74909 3.3485-0.74716 2.277 3e-3 3.9801 0.68226 5.4617 2.1773 1.1699 1.1806 1.7179 2.3034 1.8981 3.8892 0.17539 1.5435-0.39973 2.3207-1.6581 2.2405-0.81229-0.0517-1.3284-0.53213-1.422-1.3235-0.16631-1.4064-0.47266-2.1456-1.1838-2.8568-1.3863-1.3863-3.7741-1.632-5.4339-0.55927-1.6969 1.0968-2.1418 3.6062-0.9224 5.2032 0.63522 0.83192 1.7106 1.4449 4.2535 2.4246 1.9708 0.7593 2.6712 1.0863 3.5409 1.6532 1.2764 0.832 2.1119 1.8419 2.5368 3.0664 0.94507 2.7234 0.08103 5.873-2.0988 7.6505-0.66808 0.54479-1.8546 1.1349-2.7284 1.357-0.78267 0.19891-2.3694 0.28104-3.1255 0.16178zm16.311-9e-3c-2.3563-0.33788-4.6348-2.0486-5.6474-4.2402-0.50472-1.0924-0.67087-1.893-0.66369-3.1982 0.0075-1.3608 0.17347-2.099 0.73294-3.2597 0.7369-1.5288 1.913-2.6877 3.4841-3.4333 1.1264-0.53453 1.7306-0.6798 3.048-0.73282 1.7075-0.0687 3.0086 0.23471 4.3068 1.0044 0.64242 0.38091 1.6782 1.3214 2.1238 1.9285 0.4591 0.62544 0.97497 1.7389 1.2138 2.6199 0.21906 0.80799 0.2211 0.84397 0.25212 4.4491 0.0279 3.2472 0.0161 3.6742-0.1109 4.0068-0.44995 1.1782-2.3323 1.2526-2.9126 0.11514-0.14813-0.29035-0.1635-0.58589-0.19664-3.7817-0.03-2.893-0.0595-3.5566-0.17828-4.0096-0.35944-1.371-1.2008-2.4807-2.2857-3.0146-2.6097-1.2843-5.6341 0.29019-6.1957 3.2254-0.15345 0.80202-0.15265 1.1093 5e-3 1.8561 0.17024 0.80723 0.55624 1.5573 1.1083 2.1536 1.1151 1.2045 2.3277 1.5784 4.1446 1.2783 0.87556-0.14465 1.2229-0.0771 1.6378 0.31857 0.87671 0.83611 0.54387 1.9958-0.70714 2.4639-0.88408 0.33077-1.9882 0.41827-3.1592 0.25036zm34.085 6e-3c-2.6759-0.39254-4.9226-2.0585-6.0099-4.4564-0.82735-1.8247-0.80936-4.2211 0.0456-6.0715 0.93364-2.0207 2.6711-3.5034 4.8371-4.1279 0.91987-0.26518 3.0432-0.28385 4.0217-0.0354 3.2358 0.82177 5.3345 3.2765 5.3634 6.2734 7e-3 0.69047-0.0159 0.80451-0.24065 1.2148-0.14928 0.27255-0.38973 0.55031-0.60403 0.69775-0.64979 0.44707-1.0686 0.50046-3.9259 0.50046-2.5179 0-2.5992-5e-3 -2.9618-0.1905-0.4987-0.25483-0.69897-0.55062-0.74285-1.0972-0.0295-0.36804-5.9e-4 -0.49951 0.16208-0.73656 0.43816-0.63841 0.43651-0.638 2.7933-0.68512 1.9934-0.0398 2.125-0.0523 2.2424-0.21166 0.25707-0.349-0.0913-1.2568-0.72562-1.8912-0.77239-0.7724-1.8998-1.2008-3.1506-1.1971-1.3155 4e-3 -2.2288 0.37482-3.1204 1.2674-1.8314 1.8333-1.8687 4.7102-0.0847 6.5289 0.91091 0.92862 1.9348 1.3456 3.3038 1.3456 1.3574 0 1.9015-0.18457 4.0198-1.3637 1.8553-1.0327 3.2856 0.8794 1.7396 2.3255-1.5662 1.465-4.5035 2.2709-6.9623 1.9102z" fill="#00d639" stroke-width=".084667"/></g></svg>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
      You can obtain these values by using the `GET Companies` endpoint available under the Authentication section. Please use the id field as the companyId and the environmentId field as the environmentName.
    </Note>

    Supported Request Parameters:

    <ResponseField name="code" type="string" required />

    <ResponseField name="description" type="string" />

    <ResponseField name="name" type="string" required />

    <ResponseField name="status" type="enum">
      Available options:
      `ACTIVE`, `ARCHIVED`
    </ResponseField>

    <ResponseField name="type" type="string" required>
      Available options:
      `CUSTOMER`, `PROVIDER`, `BANK`, `CASH`, `CHARGE`, `REVENUE`,
      `CAPITAL`, `FIXED_ASSET`, `MANAGEMENT_RESULT`, `DEPRECIATION_PROVISION`, `STOCK`, `RESULT_BALANCE_SHEET`,
      `EMPLOYEE`, `TITLE`, `CURRENT_ASSETS`, `BORROWED_CAPITAL`, `COST`, `REDUCTION_IN_EXPENSES`,
      `NEUTRAL_REVENUE`, `NEUTRAL_EXPENSES`, `SALES_DEDUCTION`, `EXCHANGE_RATE_INCOME`, `EXCHANGE_RATE_EXPENSE`, `BALANCE_CARRIED_FORWARD`,
      `AGGREGATE_CARRIED_FORWARD`, `OTHER_BALANCE_SHEET_ACCOUNT`, `STATISTICAL_BALANCE`, `STATISTICAL_CONSUMPTION`, `CURRENT_ASSETS_INPUT_TAX`, `BORROWED_CAPITAL_OUTPUT_TAX`,
      `CUSTOMER_PREPAYMENT`, `SUPPLIER_PREPAYMENT`, `CUSTOMER_PREPAYMENT_TAX_INCLUDED`, `SUPPLIER_PREPAYMENT_TAX_INCLUDED`, `INPUT_TAX`, `OUTPUT_TAX`,
      `SUPPLIER_RETURNABLE_PACKAGING`, `CUSTOMER_RETURNABLE_PACKAGING`
    </ResponseField>
  </Accordion>

  <Accordion title="Xero" icon={<svg width="24" height="24" viewBox="0 0 45 46" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"><path fill="#13B5EA" d="M22.457 45.49c12.402 0 22.456-10.072 22.456-22.495C44.913 10.57 34.86.5 22.457.5 10.054.5 0 10.57 0 22.995 0 35.418 10.054 45.49 22.457 45.49"/><path class="logo-xero-blue__text" fill="#fff" d="M10.75 22.935l3.832-3.85a.688.688 0 0 0-.977-.965l-3.83 3.833-3.845-3.84a.687.687 0 0 0-.966.979l3.832 3.837-3.83 3.84a.688.688 0 1 0 .964.981l3.84-3.842 3.825 3.827a.685.685 0 0 0 1.184-.473.68.68 0 0 0-.2-.485l-3.83-3.846m22.782.003c0 .69.56 1.25 1.25 1.25a1.25 1.25 0 0 0-.001-2.5c-.687 0-1.246.56-1.246 1.25m-2.368 0c0-1.995 1.62-3.62 3.614-3.62 1.99 0 3.613 1.625 3.613 3.62s-1.622 3.62-3.613 3.62a3.62 3.62 0 0 1-3.614-3.62m-1.422 0c0 2.78 2.26 5.044 5.036 5.044s5.036-2.262 5.036-5.043c0-2.78-2.26-5.044-5.036-5.044a5.046 5.046 0 0 0-5.036 5.044m-.357-4.958h-.21c-.635 0-1.247.2-1.758.595a.696.696 0 0 0-.674-.54.68.68 0 0 0-.68.684l.002 8.495a.687.687 0 0 0 1.372-.002v-5.224c0-1.74.16-2.444 1.648-2.63.14-.017.288-.014.29-.014.406-.015.696-.296.696-.675a.69.69 0 0 0-.69-.688m-13.182 4.127c0-.02.002-.04.003-.058a3.637 3.637 0 0 1 7.065.055H16.2zm8.473-.13c-.296-1.403-1.063-2.556-2.23-3.296a5.064 5.064 0 0 0-5.61.15 5.098 5.098 0 0 0-1.973 5.357 5.08 5.08 0 0 0 4.274 3.767c.608.074 1.2.04 1.81-.12a4.965 4.965 0 0 0 1.506-.644c.487-.313.894-.727 1.29-1.222.006-.01.014-.017.022-.027.274-.34.223-.826-.077-1.056-.254-.195-.68-.274-1.014.156-.072.104-.153.21-.24.315-.267.295-.598.58-.994.802-.506.27-1.08.423-1.69.427-1.998-.023-3.066-1.42-3.447-2.416a3.716 3.716 0 0 1-.153-.58l-.01-.105h7.17c.982-.022 1.51-.717 1.364-1.51z"/></svg>}>
    Supported Request Parameters:

    <ResponseField name="balance" type="number" />

    <ResponseField name="code" type="string" required />

    <ResponseField name="currency" type="enum">
      Available options (3-letter ISO 4217):\
      `AED`, `AFN`, `ALL`, `AMD`, `ANG`, `AOA`, `ARS`, `AUD`, `AWG`, `AZN`, `BAM`, `BBD`, `BDT`, `BGN`, `BHD`, `BIF`, `BMD`, `BND`, `BOB`, `BRL`, `BSD`, `BTN`, `BWP`, `BYR`, `BZD`, `CAD`, `CDF`, `CHF`, `CLP`, `CNY`, `COP`, `CRC`, `CUC`, `CVE`, `CZK`, `DJF`, `DKK`, `DOP`, `DZD`, `EEK`, `EGP`, `ERN`, `ETB`, `EUR`, `FJD`, `FKP`, `GBP`, `GEL`, `GHS`, `GIP`, `GMD`, `GNF`, `GQE`, `GTQ`, `GYD`, `HKD`, `HNL`, `HRK`, `HTG`, `HUF`, `IDR`, `ILS`, `INR`, `IQD`, `IRR`, `ISK`, `JMD`, `JOD`, `JPY`, `KES`, `KGS`, `KHR`, `KMF`, `KPW`, `KRW`, `KWD`, `KYD`, `KZT`, `LAK`, `LBP`, `LKR`, `LRD`, `LSL`, `LTL`, `LVL`, `LYD`, `MAD`, `MDL`, `MGA`, `MKD`, `MMK`, `MNT`, `MOP`, `MRO`, `MUR`, `MVR`, `MWK`, `MXN`, `MYR`, `MZM`, `NAD`, `NGN`, `NIO`, `NOK`, `NPR`, `NZD`, `OMR`, `PAB`, `PEN`, `PGK`, `PHP`, `PKR`, `PLN`, `PYG`, `QAR`, `RON`, `RSD`, `RUB`, `SAR`, `SBD`, `SCR`, `SDG`, `SEK`, `SGD`, `SHP`, `SLL`, `SOS`, `SRD`, `SYP`, `SZL`, `THB`, `TJS`, `TMT`, `TND`, `TRY`, `TTD`, `TWD`, `TZS`, `UAH`, `UGX`, `USD`, `UYU`, `UZS`, `VEB`, `VND`, `VUV`, `WST`, `XAF`, `XCD`, `XDR`, `XOF`, `XPF`, `YER`, `ZAR`, `ZMK`, `ZWR`
    </ResponseField>

    <ResponseField name="description" type="string" />

    <ResponseField name="name" type="string" required />

    <ResponseField name="number" type="string" />

    <ResponseField name="status" type="enum">
      Available options:
      `ACTIVE`, `ARCHIVED`
    </ResponseField>

    <ResponseField name="type" type="string" required>
      Available options:\
      `BANK`, `CURRENT_ASSET`, `CURRENT_LIABILITY`, `DEPRECIATION`, `DIRECT_COSTS`, `EQUITY`,
      `EXPENSE`, `FIXED_ASSET`, `INVENTORY`, `LIABILITY`, `NON_CURRENT_ASSET`, `OTHER_INCOME`,
      `OVERHEADS`, `PRE_PAYMENT`, `REVENUE`, `SALES`, `NON_CURRENT_LIABILITY`
    </ResponseField>
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml post /accounting/accounts
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /accounting/accounts:
    post:
      tags:
        - accounting
      operationId: createAccount
      parameters:
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          in: query
          schema:
            type: string
          required: false
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAccountRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        $ref: '#/components/schemas/AccountResponseDto'
                        type: object
                        example:
                          id: '5570042'
                          balance: 100
                          class: ASSET
                          code: '91'
                          createdDate: '2025-05-01T00:00:00Z'
                          currency: EUR
                          debitCreditIndicator: DEBIT
                          description: Business Savings Account
                          name: Business Bank
                          number: '0150'
                          parentAccountId: '46'
                          status: ACTIVE
                          type: BANK
                          updatedDate: '2021-06-01T00:00:00Z'
components:
  schemas:
    CreateAccountRequestDto:
      type: object
      properties:
        balance:
          type: number
          example: 100
        class:
          type: string
          enum:
            - ASSET
            - EQUITY
            - EXPENSE
            - LIABILITY
            - REVENUE
          example: ASSET
        code:
          type: string
          example: '91'
        currency:
          type: string
          enum:
            - AED
            - AFN
            - ALL
            - AMD
            - ANG
            - AOA
            - ARS
            - AUD
            - AWG
            - AZN
            - BAM
            - BBD
            - BDT
            - BGN
            - BHD
            - BIF
            - BMD
            - BND
            - BOB
            - BRL
            - BSD
            - BTN
            - BWP
            - BYR
            - BZD
            - CAD
            - CDF
            - CHF
            - CLP
            - CNY
            - COP
            - CRC
            - CUC
            - CVE
            - CZK
            - DJF
            - DKK
            - DOP
            - DZD
            - EEK
            - EGP
            - ERN
            - ETB
            - EUR
            - FJD
            - FKP
            - GBP
            - GEL
            - GHS
            - GIP
            - GMD
            - GNF
            - GQE
            - GTQ
            - GYD
            - HKD
            - HNL
            - HRK
            - HTG
            - HUF
            - IDR
            - ILS
            - INR
            - IQD
            - IRR
            - ISK
            - JMD
            - JOD
            - JPY
            - KES
            - KGS
            - KHR
            - KMF
            - KPW
            - KRW
            - KWD
            - KYD
            - KZT
            - LAK
            - LBP
            - LKR
            - LRD
            - LSL
            - LTL
            - LVL
            - LYD
            - MAD
            - MDL
            - MGA
            - MKD
            - MMK
            - MNT
            - MOP
            - MRO
            - MUR
            - MVR
            - MWK
            - MXN
            - MYR
            - MZM
            - NAD
            - NGN
            - NIO
            - NOK
            - NPR
            - NZD
            - OMR
            - PAB
            - PEN
            - PGK
            - PHP
            - PKR
            - PLN
            - PYG
            - QAR
            - RON
            - RSD
            - RUB
            - SAR
            - SBD
            - SCR
            - SDG
            - SEK
            - SGD
            - SHP
            - SLL
            - SOS
            - SRD
            - SYP
            - SZL
            - THB
            - TJS
            - TMT
            - TND
            - TRY
            - TTD
            - TWD
            - TZS
            - UAH
            - UGX
            - USD
            - UYU
            - UZS
            - VEB
            - VND
            - VUV
            - WST
            - XAF
            - XCD
            - XDR
            - XOF
            - XPF
            - YER
            - ZAR
            - ZMK
            - ZWR
          example: EUR
        debitCreditIndicator:
          type: string
          enum:
            - DEBIT
            - CREDIT
          example: DEBIT
        description:
          type: string
          example: Business Savings Account
        journalCode:
          type: string
          example: '30'
        name:
          type: string
          example: Business Bank
        number:
          type: string
          example: '0150'
        parentAccountId:
          type: string
          example: '46'
        status:
          type: string
          enum:
            - ACTIVE
            - ARCHIVED
          example: ACTIVE
        type:
          type: string
          enum:
            - PAYMENT_PROVIDER
            - BANK
            - CURRENT
            - CURRLIAB
            - DEPRECIATN
            - DIRECTCOSTS
            - EQUITY
            - EXPENSE
            - FIXED
            - INVENTORY
            - LIABILITY
            - NONCURRENT
            - OTHERINCOME
            - OVERHEADS
            - PREPAYMENT
            - REVENUE
            - SALES
            - TERMLIAB
          example: BANK
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    AccountResponseDto:
      type: object
      properties:
        id:
          type: string
        balance:
          type: number
        class:
          type: string
          enum:
            - ASSET
            - EQUITY
            - EXPENSE
            - LIABILITY
            - REVENUE
        code:
          type: string
        createdDate:
          type: string
        currency:
          type: string
          enum:
            - AED
            - AFN
            - ALL
            - AMD
            - ANG
            - AOA
            - ARS
            - AUD
            - AWG
            - AZN
            - BAM
            - BBD
            - BDT
            - BGN
            - BHD
            - BIF
            - BMD
            - BND
            - BOB
            - BRL
            - BSD
            - BTN
            - BWP
            - BYR
            - BZD
            - CAD
            - CDF
            - CHF
            - CLP
            - CNY
            - COP
            - CRC
            - CUC
            - CVE
            - CZK
            - DJF
            - DKK
            - DOP
            - DZD
            - EEK
            - EGP
            - ERN
            - ETB
            - EUR
            - FJD
            - FKP
            - GBP
            - GEL
            - GHS
            - GIP
            - GMD
            - GNF
            - GQE
            - GTQ
            - GYD
            - HKD
            - HNL
            - HRK
            - HTG
            - HUF
            - IDR
            - ILS
            - INR
            - IQD
            - IRR
            - ISK
            - JMD
            - JOD
            - JPY
            - KES
            - KGS
            - KHR
            - KMF
            - KPW
            - KRW
            - KWD
            - KYD
            - KZT
            - LAK
            - LBP
            - LKR
            - LRD
            - LSL
            - LTL
            - LVL
            - LYD
            - MAD
            - MDL
            - MGA
            - MKD
            - MMK
            - MNT
            - MOP
            - MRO
            - MUR
            - MVR
            - MWK
            - MXN
            - MYR
            - MZM
            - NAD
            - NGN
            - NIO
            - NOK
            - NPR
            - NZD
            - OMR
            - PAB
            - PEN
            - PGK
            - PHP
            - PKR
            - PLN
            - PYG
            - QAR
            - RON
            - RSD
            - RUB
            - SAR
            - SBD
            - SCR
            - SDG
            - SEK
            - SGD
            - SHP
            - SLL
            - SOS
            - SRD
            - SYP
            - SZL
            - THB
            - TJS
            - TMT
            - TND
            - TRY
            - TTD
            - TWD
            - TZS
            - UAH
            - UGX
            - USD
            - UYU
            - UZS
            - VEB
            - VND
            - VUV
            - WST
            - XAF
            - XCD
            - XDR
            - XOF
            - XPF
            - YER
            - ZAR
            - ZMK
            - ZWR
        debitCreditIndicator:
          type: string
          enum:
            - DEBIT
            - CREDIT
        description:
          type: string
        name:
          type: string
        number:
          type: string
        parentAccountId:
          type: string
        status:
          type: string
          enum:
            - ACTIVE
            - ARCHIVED
        type:
          type: string
          enum:
            - ACCOUNTS_PAYABLE
            - ACCOUNTS_RECEIVABLE
            - BANK
            - CREDIT_CARD
            - CURRENT_ASSET
            - CURRENT_LIABILITY
            - DEPRECIATION
            - DIRECT_COSTS
            - COST_OF_GOODS_SOLD
            - EQUITY
            - EXPENSE
            - FIXED_ASSET
            - INVENTORY
            - LIABILITY
            - LONG_TERM_LIABILITY
            - NON_CURRENT_ASSET
            - NON_CURRENT_LIABILITY
            - OTHER_INCOME
            - OTHER_EXPENSE
            - OVERHEADS
            - PAYMENT_PROVIDER
            - PRE_PAYMENT
            - REVENUE
            - SALES
            - OTHER
        updatedDate:
          type: string
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````