Files
Stores and manages files in Xero. It allows you to query, update, and delete files, such as invoices, receipts, and contracts. It provides functionality for managing digital documents attached to various records.
Table-Specific Information
If you need to interact with file contents (either uploading or downloading them), please see the Files stored procedures.
Columns
| Name | Type | ReadOnly | Description |
| FileId [KEY] | String | True |
The unique identifier assigned by Xero for the file. |
| Name | String | False |
The name of the file as stored in Xero. |
| FolderId | String | False |
The ID of the folder containing the file, representing its location within the system. |
| MimeType | String | True |
The mime type of data contained in the file. |
| Size | Int | True |
The size of the file in bytes, representing the file's storage consumption. |
| User_Id | String | True |
The unique identifier for the user who uploaded the file. |
| User_Name | String | True |
The username of the individual who uploaded the file. |
| User_FirstName | String | True |
The first name of the user who uploaded the file. |
| User_LastName | String | True |
The last name of the user who uploaded the file. |
| User_FullName | String | True |
The full name (first and last) of the user who uploaded the file. |
| Created | Datetime | True |
The timestamp when the file was first uploaded to Xero. |
| Updated | Datetime | True |
The timestamp when the file's metadata was last updated or modified. |
| TenantId | String | False |
The unique identifier of the tenant to query, used instead of the connection tenant. |