Read a transaction line by ID
Read a single transaction line identified by its unique ID.
Path parameters
-
The unique identifier for the transaction line.
GET
/transactionlines/{id}
curl \
-X GET https://rest.api.24sevenoffice.com/v1/transactionlines/{id} \
-H "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"id": "123e4567-e89b-12d3-a456-426614174001",
"transaction": {
"id": "123e4567-e89b-12d3-a456-426614174002",
"number": 1010
},
"account": {
"id": 1000001,
"number": 1900,
"name": "Cash, NOK"
},
"transactionType": {
"id": 5001
},
"tax": {
"id": 2001,
"rate": 25
},
"amount": 1500,
"currency": {
"code": "USD",
"rate": 10
},
"date": "2022-07-01",
"invoice": {
"number": "INV-2024-001",
"dueDate": "2024-08-01",
"remittanceReference": "OCR-123456789"
},
"customer": {
"id": 6001
},
"comment": "Payment for services",
"createdAt": "2022-01-01T18:00:00Z",
"modifiedAt": "2023-12-31T18:00:00Z"
}
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"id": "123e4567-e89b-12d3-a456-426614174001",
"transaction": {
"id": "123e4567-e89b-12d3-a456-426614174002",
"number": 1010
},
"account": {
"id": 1000001,
"number": 1900,
"name": "Cash, NOK"
},
"transactionType": {
"id": 5001
},
"tax": {
"id": 2001,
"rate": 25
},
"amount": 1500,
"currency": {
"code": "USD",
"rate": 10
},
"date": "2022-07-01",
"invoice": {
"number": "INV-2024-001",
"dueDate": "2024-08-01",
"remittanceReference": "OCR-123456789"
},
"customer": {
"id": 6001
},
"comment": "Payment for services",
"createdAt": "2022-01-01T18:00:00Z",
"modifiedAt": "2023-12-31T18:00:00Z"
}