external_companies
Through the external_companies drop we can access (limited) information from other companies
Methods
| Method | Return type | Description |
|---|---|---|
| file_code | string | The file number from the company settings. |
| id | string | The id of the external company |
| name | string | The external company name from the external company settings |
| period | drop | Period information from the external company (limited to year_end_date, accounts and reconciliations |
External company period
Methods
External company period accounts
Methods
| Method | Return type | Description |
|---|---|---|
| name | string | Returns the name of the first account in this drop. |
| return_values_in_millions | account drop | The values of the account drops in the created accounts drop will be shown in millions. |
| return_values_in_ones | account drop | The values of the account drops in the created accounts drop will be shown in ones. |
| return_values_in_thousands | account drop | The values of the account drops in the created accounts drop will be shown in thousands. |
| value | decimal | The sum of all values for all accounts in this accounts drop for this period. |
External company period account
Methods
| Method | Return type | Description |
|---|---|---|
| id | integer | The unique id for the account. |
| link | string with link | The number and name of the account with a link to the account itself. |
| name | string | The name of the account. |
| mapped_number | string | The mapped account number. |
| number | string | The number of the account defined in an account collection. Could be the original number or the mapped number, depending on the client's configuration. |
| original_name | string | The original name of the account (before mapping). |
| original_number | string | The original number of the account (before mapping). |
| value | decimal | Returns the value of the account in the current period. |
External company period reconciliations
Methods
| Method | Return type | Description |
|---|---|---|
| count | integer | Amount of active reconciliations. |
| handle | Reconciliation drop | By using the handle of a reconciliation, that specific reconciliation can be accessed. |
| starred | Reconciliations drop | Reconciliations that are marked with a star. |
External company period reconciliation
Methods
| Method | Return type | Description |
|---|---|---|
| custom | custom | The custom values of the reconciliation. |
| handle | string | The handle of the reconciliation. |
| name | string | The name of the reconciliation. |
| number | string | Returns the virtual account number. |
| results | collection | A collection with the names and values of all result tags. Using the name as a method will return the value. |
Updated about 2 months ago
