Get a table report definition
https://api.light.inc/v1/report-definitions/table/{reportDefinitionId}
Returns the rows of a table report definition, the country it applies to and whether it covers a date range or a balance as of a date.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
reportDefinitionIdstring · uuidrequired
Response
-
idstring · uuidUnique identifier for the report definition
-
companyIdstring · uuidID of the company. Null for a report definition provided by Light
-
countrystringCountry the report applies to. A report with a country can only be generated for company entities in that country
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
ACADAEAFAGAIALAMANAOAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBYBZCACCCDCFCGCHCICKCLCMCNCOCPCRCSCUCVCWCXCYCZDEDGDJDKDMDODZEAECEEEGEHERESETEUEZFIFJFKFMFOFRFXGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUICIDIEILIMINIOIQIRISITJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPWPYQARERORSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUKUMUSUYUZVAVCVEVGVIVNVUWFWSXIXUXKYEYTYUZAZMZRZW -
labelstringDisplay name of the report
-
columnLabelsobjectHeading of each column
-
linesarray of object-
rowNumberinteger · int32Position of the row in the report, unique within the report definition
-
labelstring -
parentRowNumberinteger · int32Row this row is nested under
-
-
periodstringRANGE- The report covers a date range, sofromis required when generating itSNAPSHOT- The report is a balance as ofto
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
RANGESNAPSHOT -
ignoreYearClosingEntriesbooleanWhether year-closing entries are left out of the figures
-
ownerstringUSER- Created by the companySYSTEM- Provided by Light and read-only
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
USERSYSTEM -
systemNamestringWhich standard report this is. Null for a report the company created
BALANCE_SHEET- Balance sheetCASH_FLOW_STATEMENT- Cash flow statementGENERAL_LEDGER- General ledgerINCOME_STATEMENT- Income statement (profit and loss)TRIAL_BALANCE- Trial balanceVAT_DK- Danish VAT returnVAT_UK- UK VAT returnVAT_SE- Swedish VAT return
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
BALANCE_SHEETCASH_FLOW_STATEMENTGENERAL_LEDGERINCOME_STATEMENTTRIAL_BALANCEVAT_DKVAT_UKVAT_SE -
createdAtstring · date-time -
updatedAtstring · date-time