Link

Map property and accounts

First, head over to our accounting guides guides and get familiar with the way apaleo handles double-entry accounting.

If you already have a developer account set up, use the Inventory API to get the properties that you need to map with the accounting organization:

GET /inventory/v1/properties

Next, you need to map the accounting schema. apaleo has five static revenue accounts and each of them has sub-accounts for each VAT type that exists in your hotel’s country. To get the accounting schema use the Finance API:

GET /finance/v1/accounts/schema

Here’s an example response:

{
   "globalAccounts":[
      {
         "accountNumber":"5000",
         "name":"Revenues",
         "type":"Revenues",
         "hasChildren":true,
         "isArchived":false,
         "subAccounts":[
            {
               "accountNumber":"RevenueAccommodation",
               "name":"Revenues Accommodation",
               "type":"Revenues",
               "parentNumber":"5000",
               "hasChildren":true,
               "isArchived":false,
               "subAccounts":[
                  {
                     "accountNumber":"RevenueAccommodation_Apaleo",
                     "name":"Revenues Accommodation - Corporate Apaleo",
                     "type":"Revenues",
                     "parentNumber":"RevenueAccommodation",
                     "hasChildren":true,
                     "isArchived":false,
                     "subAccounts":[
                        {
                           "accountNumber":"RevenueAccommodation_Apaleo-Normal:16.00",
                           "name":"Revenues Accommodation - Corporate Apaleo (16%)",
                           "type":"Revenues",
                           "parentNumber":"RevenueAccommodation_Apaleo",
                           "hasChildren":false,
                           "isArchived":false,
                           "vat":{
                              "type":"Normal",
                              "percent":16
                           }
                        },
                        {
                           "accountNumber":"RevenueAccommodation_Apaleo-Normal:19.00",
                           "name":"Revenues Accommodation - Corporate Apaleo (19%)",
                           "type":"Revenues",
                           "parentNumber":"RevenueAccommodation_Apaleo",
                           "hasChildren":false,
                           "isArchived":false,
                           "vat":{
                              "type":"Normal",
                              "percent":19
                           }
                        },
                        ]   
                      ...................