---
title: "Update a Invoice"
method: PUT
path: "/invoice/{invoice_uid}"
---

# Update a Invoice

`PUT /invoice/{invoice_uid}`

## Path parameters

- `invoice_uid` string, required

## Request body

- object
  - `invoice` object
    - `reference_no` string
    - `description` string
    - `invoice_date` string, date-time
    - `due_date` string, date-time
    - `prefix` string
    - `customer_billing_address` object
      - `city` string
      - `state` string
      - `street` string
      - `country` string
      - `landmark` string
      - `zip_code` string
      - `geo_cordinates` number[]
      - `first_name` string
      - `last_name` string
      - `phone_number` string — Customer phone number
      - `email` string — Customer email
      - `label` string — Label
    - `customer_service_address` object
      - `city` string
      - `state` string
      - `street` string
      - `country` string
      - `landmark` string
      - `zip_code` string
      - `geo_cordinates` number[]
      - `first_name` string
      - `last_name` string
      - `phone_number` string — Customer phone number
      - `email` string — Customer email
      - `label` string — Label
    - `customer` string
    - `organization` string
    - `property` string
    - `estimate` string
    - `job` string
    - `template` string
    - `payment_term` string
    - `payment_mode` string
    - `service_contract` string
    - `line_items` object[]
      - `name` string
      - `location_uid` string
      - `unit_price` number, float
      - `description` string
      - `discount` number, float
      - `brand` string
      - `specification` string
      - `total` number, double
      - `section_name` string
      - `section_uid` string
      - `section_type` 'COLLAPSED' | 'EXPANDED' | 'HIDDEN'
      - `show_child_prices` boolean
      - `show_section_total` boolean
      - `quantity` integer
      - `product_uid` string
      - `tax` object
        - `tax_name` string — Tax name
        - `tax_rate` integer — Tax rate
        - `tax_amount` integer — Tax amount
      - `has_custom_tax` boolean
    - `sub_total` integer
    - `discount` object
      - `days` integer
      - `hours` integer
      - `minutes` integer
    - `remarks` string
    - `tags` string[]
    - `tax` object[]
      - `tax_uid` string — Tax uid
    - `financing` object
      - `is_enabled` boolean
      - `financing_prequalification` string
      - `financing_transaction` string
    - `bu_uid` string — Trade Type UID
    - `custom_fields` object[]
      - `label` string, required
      - `value` string, required
      - `type` string, required
      - `ref_uid` string
      - `module_name` 'JOB' | 'CUSTOMER' | 'EMPLOYEE' | 'ESTIMATE' | 'INVOICE' | 'PRODUCT' | 'PURCHASE_ORDER' | 'SERVICE_CONTRACT' | 'ASSET' | 'PROPERTY' | 'ORGANIZATION' | 'TEAM' | 'REQUEST' | 'PROJECT'
      - `hide_to_fe` boolean
      - `hide_field` boolean
      - `read_only` boolean
      - `group_name` string
      - `group_uid` string

## Response `200`

200

- object
  - `type` string
  - `message` string
  - `data` object
    - `invoice_uid` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zuper/apis/zuper-pro-api.md) · [All operations](https://skmtc.net/zuper/apis/zuper-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuper/zuper-pro-api/revisions/c7b8028a05de/schema)
