---
title: "Carrier invoice line item updated"
method: POST
path: "carrier-invoice-line-item.updated"
---

# Carrier invoice line item updated

`POST carrier-invoice-line-item.updated` (webhook)

When an Invoice Line Item is updated.

## Payload

- union
  - CarrierInvoiceLineItemsUpdatedFullWebhook
    - `connection_id` string, required
    - `data` CarrierInvoiceLineItemApiItemSchema, required
      - `id` string, required: The unique ID of the invoice line item.
      - `created_date` string, date-time, required: The date the invoice line item was created.
      - `updated_date` string, date-time, required: The date the invoice line item was last updated.
      - `transaction_date` string, date-time, required: The transaction date of the invoice line item.
      - `account_id` string, required: The account ID associated with the invoice line item.
      - `invoice_id` string, required: The invoice ID.
      - `tracking_number` string, nullable, required: The tracking number associated with the invoice line item.
      - `gross_cost` number, required: The gross cost of the invoice line item.
      - `net_cost` number, required: The net cost of the invoice line item.
      - `charge_description` string, required: Description of the charge.
      - `raw` unknown, required
      - `trackstar_tags` unknown[], nullable, required: A list of custom tags associated with the resource. A tag can be either a string or a dictionary with one key-value pair.
        - unknown
      - `trackstar_created_date` string, date-time, required
      - `trackstar_updated_date` string, date-time, required
    - `event_type` 'carrier-invoice-line-item.updated', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `previous_attributes` CarrierInvoiceLineItemsUpdatedPreviousAttributes, required
      - `id` string: The unique ID of the invoice line item.
      - `created_date` string, date-time: The date the invoice line item was created.
      - `updated_date` string, date-time: The date the invoice line item was last updated.
      - `transaction_date` string, date-time: The transaction date of the invoice line item.
      - `account_id` string: The account ID associated with the invoice line item.
      - `invoice_id` string: The invoice ID.
      - `tracking_number` string, nullable: The tracking number associated with the invoice line item.
      - `gross_cost` number: The gross cost of the invoice line item.
      - `net_cost` number: The net cost of the invoice line item.
      - `charge_description` string: Description of the charge.
      - `raw` unknown
      - `trackstar_tags` unknown[], nullable: A list of custom tags associated with the resource. A tag can be either a string or a dictionary with one key-value pair.
        - unknown
      - `trackstar_created_date` string, date-time
      - `trackstar_updated_date` string, date-time
  - CarrierInvoiceLineItemsUpdatedTruncatedWebhook
    - `connection_id` string, required
    - `data` CarrierInvoiceLineItemsUpdatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'carrier-invoice-line-item.updated', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `previous_attributes` CarrierInvoiceLineItemsUpdatedTruncatedPreviousAttributes, required
    - `data_truncated` boolean, required: Always true on this shape. The event was too large to send in full, so `data` holds only the `id` and `previous_attributes` is empty.
    - `data_url` string, required: Called with your usual API key, it returns a download link for this event exactly as it would have been delivered.

## Acknowledgement `200`

Success

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
