---
title: "Atualizar Linha de Documentos de Venda"
method: PATCH
path: "/api/commercial_sales_document_lines"
tags: ["Versões Anteriores", "Vendas1", "Documentos de Venda1"]
---

# Atualizar Linha de Documentos de Venda

`PATCH /api/commercial_sales_document_lines`

Atualizar Linha de Documentos de Venda

## Request body

- object
  - `data` object
    - `attributes` object
      - `amount` number
      - `amount_with_header_settlement` number
      - `base_currency_amount` unknown
      - `base_currency_net_amount` unknown
      - `base_currency_net_unit_price` unknown
      - `base_currency_settlement_with_tax` unknown
      - `base_currency_settlement_without_tax` unknown
      - `base_currency_tax_amount` unknown
      - `base_currency_unit_price` unknown
      - `created_at` string
      - `date` unknown
      - `description` string
      - `exemption_reason` unknown
      - `imported_quantity` unknown
      - `item_code` string
      - `item_id` number
      - `item_type` string
      - `item_unit_price_includes_vat` boolean
      - `locked` unknown
      - `net_amount` number
      - `net_amount_with_header_settlement` number
      - `net_settlement_amount` unknown
      - `net_tax_amount` unknown
      - `net_unit_price` number
      - `original_document_no` unknown
      - `pending_quantity` unknown
      - `pending_retention_value` unknown
      - `pending_total` unknown
      - `quantity` unknown
      - `retention_value` unknown
      - `settlement_amount` unknown
      - `settlement_expression` unknown
      - `settlement_percentage` number
      - `settlement_with_tax` number
      - `settlement_without_tax` number
      - `tax_amount` number
      - `tax_code` string
      - `tax_country_region` string
      - `tax_descriptor_id` unknown
      - `tax_percentage` number
      - `unit_price` number
      - `updated_at` string
    - `id` string
    - `type` string

## Response `200`

Sucesso

- object
  - `data` object
    - `attributes` object
      - `amount` number
      - `amount_with_header_settlement` number
      - `base_currency_amount` unknown
      - `base_currency_net_amount` unknown
      - `base_currency_net_unit_price` unknown
      - `base_currency_settlement_with_tax` unknown
      - `base_currency_settlement_without_tax` unknown
      - `base_currency_tax_amount` unknown
      - `base_currency_unit_price` unknown
      - `created_at` string
      - `date` unknown
      - `description` string
      - `exemption_reason` unknown
      - `imported_quantity` unknown
      - `item_code` string
      - `item_id` number
      - `item_type` string
      - `item_unit_price_includes_vat` boolean
      - `locked` unknown
      - `net_amount` number
      - `net_amount_with_header_settlement` number
      - `net_settlement_amount` unknown
      - `net_tax_amount` unknown
      - `net_unit_price` number
      - `original_document_no` unknown
      - `pending_quantity` unknown
      - `pending_retention_value` unknown
      - `pending_total` unknown
      - `quantity` number
      - `retention_value` unknown
      - `settlement_amount` unknown
      - `settlement_expression` unknown
      - `settlement_percentage` number
      - `settlement_with_tax` number
      - `settlement_without_tax` number
      - `tax_amount` number
      - `tax_code` string
      - `tax_country_region` string
      - `tax_descriptor_id` unknown
      - `tax_percentage` number
      - `unit_price` number
      - `updated_at` string
    - `id` string
    - `relationships` object
      - `document` object
        - `data` object
          - `id` string
          - `type` string
      - `product` object
        - `data` unknown
      - `service` object
        - `data` unknown
      - `tax` object
        - `data` object
          - `id` string
          - `type` string
      - `tax_descriptor` object
        - `data` unknown
      - `unit_of_measure` object
        - `data` object
          - `id` string
          - `type` string
    - `type` string
  - `meta` object
    - `observed` object
      - `lines` number
      - `scalar` number

---

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