Document Lines

Retrieves the lines of the document during the authorization workflow

This API resource is only available to Premium APPs.

GET /authorization/:documentId/lines

Collection properties

Property Type Description
lines Array A list of the document's lines
_links Array A list of useful preconfigured URI's a client app can use to navigate this resource collection.
_metadata Complex object Optional object with additional information concerning the current returned result.


Property Type Description
index integer Index number.
accountCode string Account code.
accountName string Account name.
amount decimal Line amount.
project string Project name.
costCenter string Cost center name.
costUnit string Cost unit name.

Note: currently, supported only on Unit4 companies.

description string Description of the transaction line.

Example response

            "index": 0,
            "accountCode": "AccountCode1",
            "accountName": "AccountName1",
            "amount": 10.00,
            "project": "Project1",
            "costCenter": "CostCenter1",
            "costUnit": "CostUnit1",
            "description": "Description1" 
            "index": 1,
            "accountCode": "AccountCode2",
            "accountName": "AccountName2",
            "amount": 5,
            "project": "Project2",
            "costCenter": null,
            "costUnit": "CostUnit2",
            "description": "Description2" 
    "_metadata": {
        "total": 2,
        "count": 2
    "_links": [
            "rel": "self",
            "href": ""