---
title: "Update expense record"
description: "Update an existing expense record by its UUID, changing details such as supplier, amount, VAT, date, category, description and currency, or attach or delete the document file."
source: https://docs.payplus.co.il/en/payplus/latest/put-books-expenses-uuid
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Update expense record

**PUT** `/books/expenses/{uuid}`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `uuid` | path | string | yes | Requested document uuid Example: a5f514de-c8c8-262a-ac31-31d609f3550a. |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (multipart/form-data)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `amount` | number |  | Document total amount |
| `number` | number |  | Expense document number |
| `doc_date` | string |  | Document date |
| `doc_file` | string |  | PDF or other text file for the document |
| `delete_file` | boolean |  | If true, will delete the document file |
| `description` | string |  | Description of the expense |
| `supplier_uid` | string |  | UID of the existing supplier. If valid UID is submitted, all supplier information will be taken from it. |
| `currency_code` | string |  | Document currency code |
| `supplier_name` | string |  | Supplier name |
| `subcategory_id` | number |  | Document subcategory |
| `vat_percentage` | number |  | VAT percentage |
| `supplier_vat_id` | number |  | Supplier system ID number |
| `amount_includes_vat` | boolean |  | Whether or not the indicated amount includes VAT |

```json
{
  "amount": 0,
  "number": 12345,
  "doc_date": "2022-01-01",
  "doc_file": "string",
  "delete_file": false,
  "description": "Some text",
  "supplier_uid": "string",
  "currency_code": "ILS",
  "supplier_name": "John Doe",
  "subcategory_id": 5554,
  "vat_percentage": 11111,
  "supplier_vat_id": 123456789,
  "amount_includes_vat": false
}
```

**Response 200** — 200

```json
{
  "barcode": "472819632332439",
  "brand": {
    "name": "Company Name",
    "uuid": "67a8cc93-75ac-4832-8386-3eb5b24bf3d0"
  },
  "copyDocAddress": "https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "currency_code": "ILS",
  "customer": {
    "customer_name": "John Doe",
    "email": "johndoe@example.com",
    "phone": "123456789",
    "subject_code": "987654321",
    "uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
    "vat_number": "1231231"
  },
  "customer_uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
  "docUID": "1fa79282-61d1-4898-b7b9-afa67f46d34a",
  "doc_date": "2022-11-15",
  "doc_type": "inv_tax",
  "more_info": null,
  "number": "SCP/50042",
  "originalDocAddress": "https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "total_items_base_currency": 150,
  "validDocumentGenerated": true
}
```

**Response 400** — 400

```json
{}
```
