Merge · Schema

PurchaseOrderLineItem

# The PurchaseOrderLineItem Object ### Description The `PurchaseOrderLineItem` object is used to represent a purchase order's line item. ### Usage Example Fetch from the `GET PurchaseOrder` endpoint and view a company's purchase orders.

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.
description stringnull A description of the good being purchased.
unit_price numbernull The line item's unit price.
quantity numbernull The line item's quantity.
item stringnull
account stringnull The purchase order line item's account.
tracking_category stringnull The purchase order line item's associated tracking category.
tracking_categories array The purchase order line item's associated tracking categories.
tax_amount stringnull The purchase order line item's tax amount.
total_line_amount stringnull The purchase order line item's total amount.
currency object The purchase order line item's currency. The currency code in ISO 4217 format.
tax_rate stringnull The tax rate that applies to this line item.
exchange_rate stringnull The purchase order line item's exchange rate.
company stringnull The company the purchase order line item belongs to.
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
remote_fields array
View JSON Schema on GitHub

JSON Schema

merge-purchaseorderlineitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PurchaseOrderLineItem",
  "title": "PurchaseOrderLineItem",
  "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."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A description of the good being purchased."
    },
    "unit_price": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The line item's unit price."
    },
    "quantity": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The line item's quantity."
    },
    "item": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "account": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The purchase order line item's account."
    },
    "tracking_category": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The purchase order line item's associated tracking category."
    },
    "tracking_categories": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "The purchase order line item's associated tracking categories."
    },
    "tax_amount": {
      "type": [
        "string",
        "null"
      ],
      "format": "decimal",
      "description": "The purchase order line item's tax amount."
    },
    "total_line_amount": {
      "type": [
        "string",
        "null"
      ],
      "format": "decimal",
      "description": "The purchase order line item's total amount."
    },
    "currency": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/TransactionCurrencyEnum"
        },
        {
          "type": "null"
        }
      ],
      "description": "The purchase order line item's currency. The currency code in ISO 4217 format."
    },
    "tax_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The tax rate that applies to this line item."
    },
    "exchange_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "decimal",
      "description": "The purchase order line item's exchange rate."
    },
    "company": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The company the purchase order line item belongs to."
    },
    "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/)."
    },
    "remote_fields": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/RemoteField"
      }
    }
  },
  "description": "# The PurchaseOrderLineItem Object\n### Description\nThe `PurchaseOrderLineItem` object is used to represent a purchase order's line item.\n\n### Usage Example\nFetch from the `GET PurchaseOrder` endpoint and view a company's purchase orders."
}