Read a transaction line by ID

GET /transactionlines/{id}

Read a single transaction line identified by its unique ID.

Headers

Path parameters

  • id string(guid) Required

    The unique identifier for the transaction line.

Responses

  • Hide headers attributes Show headers attributes
    Hide response attributes Show response attributes object

    Information about a single transaction line.

    • id number

      A unique identifier for the transaction line within 24SevenOffice accounting module.

    • Details of the transaction within the 24SevenOffice accounting module to which the transaction line pertains.

      Note: Many other Norway-based accounting systems refer to transactions as "vouchers".

      Hide transaction attributes Show transaction attributes object
      • id number

        A unique identifier for the transaction within 24SevenOffice accounting module.

      • number number

        The unique number representing the transaction.

    • account object Required

      Details of an account within the 24SevenOffice accounting module to which the transaction line is posted.

      Hide account attributes Show account attributes object
      • id number

        A unique identifier for the account within 24SevenOffice.

      • number number

        The unique number within the organization's chart of accounts that indicates which type of account the account belongs to.

      • name string

        The human-readable name that describes the purpose or nature of the account.

    • Details of a transaction type used within the 24SevenOffice accounting module.

      Hide transactionType attribute Show transactionType attribute object
      • id number

        A unique identifier for the transaction type within 24SevenOffice accounting module.

    • tax object

      Details of a tax used within 24SevenOffice.

      Hide tax attributes Show tax attributes object
      • id number

        A unique identifier for the tax within 24SevenOffice.

      • rate number

        The tax rate applied to the transaction line.

    • amount number Required

      The monetary amount for the transaction line.

    • currency object

      Details of the currency used within 24SevenOffice.

      Hide currency attributes Show currency attributes object
      • code string(regex)

        The currency code used in the transaction line.

        Format should match the following pattern: ^([A-Z]{3}|LOCAL)$.

      • rate number Required

        The exchange rate for the currency.

        Minimum value is 0.

    • date string(date) Required

      The date when the transaction line was posted.

    • invoice object

      Details of an invoice used within 24SevenOffice.

      Hide invoice attributes Show invoice attributes object
    • customer object

      Details of a customer used within 24SevenOffice CRM.

      Hide customer attribute Show customer attribute object
      • id number

        A unique identifier for the customer within 24SevenOffice CRM.

    • comment string

      A brief description of the transaction.

      Maximum length is 75.

    • createdAt string(date-time)

      A timestamp for when a record was created, in ISO 8601 format.

    • modifiedAt string(date-time)

      A timestamp for when one of the properties of a record was last modified, in ISO 8601 format.

    Hide response attributes Show response attributes object

    Information about a single transaction line.

    • id number

      A unique identifier for the transaction line within 24SevenOffice accounting module.

    • Details of the transaction within the 24SevenOffice accounting module to which the transaction line pertains.

      Note: Many other Norway-based accounting systems refer to transactions as "vouchers".

      Hide transaction attributes Show transaction attributes object
      • id number

        A unique identifier for the transaction within 24SevenOffice accounting module.

      • number number

        The unique number representing the transaction.

    • account object Required

      Details of an account within the 24SevenOffice accounting module to which the transaction line is posted.

      Hide account attributes Show account attributes object
      • id number

        A unique identifier for the account within 24SevenOffice.

      • number number

        The unique number within the organization's chart of accounts that indicates which type of account the account belongs to.

      • name string

        The human-readable name that describes the purpose or nature of the account.

    • Details of a transaction type used within the 24SevenOffice accounting module.

      Hide transactionType attribute Show transactionType attribute object
      • id number

        A unique identifier for the transaction type within 24SevenOffice accounting module.

    • tax object

      Details of a tax used within 24SevenOffice.

      Hide tax attributes Show tax attributes object
      • id number

        A unique identifier for the tax within 24SevenOffice.

      • rate number

        The tax rate applied to the transaction line.

    • amount number Required

      The monetary amount for the transaction line.

    • currency object

      Details of the currency used within 24SevenOffice.

      Hide currency attributes Show currency attributes object
      • code string(regex)

        The currency code used in the transaction line.

        Format should match the following pattern: ^([A-Z]{3}|LOCAL)$.

      • rate number Required

        The exchange rate for the currency.

        Minimum value is 0.

    • date string(date) Required

      The date when the transaction line was posted.

    • invoice object

      Details of an invoice used within 24SevenOffice.

      Hide invoice attributes Show invoice attributes object
    • customer object

      Details of a customer used within 24SevenOffice CRM.

      Hide customer attribute Show customer attribute object
      • id number

        A unique identifier for the customer within 24SevenOffice CRM.

    • comment string

      A brief description of the transaction.

      Maximum length is 75.

    • createdAt string(date-time)

      A timestamp for when a record was created, in ISO 8601 format.

    • modifiedAt string(date-time)

      A timestamp for when one of the properties of a record was last modified, in ISO 8601 format.

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": 7001,
  "transaction": {
    "id": 3001,
    "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": 7001,
  "transaction": {
    "id": 3001,
    "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"
}