---
title: "Bill updated"
method: POST
path: "bill.updated"
---

# Bill updated

`POST bill.updated` (webhook)

When a Bill is updated.

## Payload

- union
  - WmsBillsUpdatedFullWebhook
    - `connection_id` string, required
    - `data` WmsBillApiItemSchema, required
      - `id` string, required: The unique ID of the bill.
      - `warehouse_customer_id` string, nullable, required: The ID of the merchant/tenant/customer that owns the bill. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details.
      - `created_date` string, date-time, required: The date the bill was created.
      - `updated_date` string, date-time, required: The date the bill was last updated.
      - `object_id` string, nullable, required: The ID of the object that incurred a charge.
      - `object_type` string, nullable, required: The type of object that incurred a charge.
      - `charge_type` string, required: The reason for the charge.
      - `amount` number, required: The amount charged.
      - `currency_code` string, required: The currency of the charge. Defaults to USD.
      - `additional_fields` object, required: Integration-specific fields
      - `trackstar_created_date` string, date-time, required
      - `trackstar_updated_date` string, date-time, required
    - `event_type` 'bill.updated', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `previous_attributes` WmsBillsUpdatedPreviousAttributes, required
      - `id` string: The unique ID of the bill.
      - `warehouse_customer_id` string, nullable: The ID of the merchant/tenant/customer that owns the bill. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details.
      - `created_date` string, date-time: The date the bill was created.
      - `updated_date` string, date-time: The date the bill was last updated.
      - `object_id` string, nullable: The ID of the object that incurred a charge.
      - `object_type` string, nullable: The type of object that incurred a charge.
      - `charge_type` string: The reason for the charge.
      - `amount` number: The amount charged.
      - `currency_code` string: The currency of the charge. Defaults to USD.
      - `additional_fields` object: Integration-specific fields
      - `trackstar_created_date` string, date-time
      - `trackstar_updated_date` string, date-time
  - WmsBillsUpdatedTruncatedWebhook
    - `connection_id` string, required
    - `data` WmsBillsUpdatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'bill.updated', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `previous_attributes` WmsBillsUpdatedTruncatedPreviousAttributes, 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)
