Merge · Schema

ExpenseLine

# The ExpenseLine Object ### Description The `ExpenseLine` object is used to represent an expense's line items. ### Usage Example Fetch from the `GET Expense` endpoint and view the expense's line items.

IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Properties

Name Type Description
id string
remote_id stringnull The third-party API ID of the matching object.
created_at string The datetime that this object was created by Merge.
modified_at string The datetime that this object was modified by Merge.
item stringnull The line's item.
net_amount numbernull The line's net amount.
tracking_category stringnull
tracking_categories array The expense line item's associated tracking categories.
company stringnull The company the expense belongs to.
employee stringnull The employee this overall transaction relates to.
currency object The expense line item's currency. The currency code in ISO 4217 format.
account stringnull The expense's payment account.
contact stringnull The expense's contact.
project stringnull
description stringnull The description of the item that was purchased by the company.
exchange_rate stringnull The expense line item's exchange rate.
tax_rate stringnull The tax rate that applies to this line item.
quantity stringnull Number of items for the expense line.
unit_price stringnull Unit price of the item for the expense line.
remote_was_deleted boolean Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited cove
View JSON Schema on GitHub

JSON Schema

merge-expenseline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ExpenseLine",
  "title": "ExpenseLine",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "remote_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The third-party API ID of the matching object."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The datetime that this object was created by Merge."
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "description": "The datetime that this object was modified by Merge."
    },
    "item": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The line's item."
    },
    "net_amount": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The line's net amount."
    },
    "tracking_category": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "tracking_categories": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "The expense line item's associated tracking categories."
    },
    "company": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The company the expense belongs to."
    },
    "employee": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The employee this overall transaction relates to."
    },
    "currency": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/TransactionCurrencyEnum"
        },
        {
          "type": "null"
        }
      ],
      "description": "The expense line item's currency. The currency code in ISO 4217 format."
    },
    "account": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The expense's payment account."
    },
    "contact": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The expense's contact."
    },
    "project": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The description of the item that was purchased by the company."
    },
    "exchange_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "decimal",
      "description": "The expense line item's exchange rate."
    },
    "tax_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The tax rate that applies to this line item."
    },
    "quantity": {
      "type": [
        "string",
        "null"
      ],
      "format": "decimal",
      "description": "Number of items for the expense line."
    },
    "unit_price": {
      "type": [
        "string",
        "null"
      ],
      "format": "decimal",
      "description": "Unit price of the item for the expense line."
    },
    "remote_was_deleted": {
      "type": "boolean",
      "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
    }
  },
  "description": "# The ExpenseLine Object\n### Description\nThe `ExpenseLine` object is used to represent an expense's line items.\n\n### Usage Example\nFetch from the `GET Expense` endpoint and view the expense's line items."
}