---
title: "DeletedTransactions (Twinfield)"
description: "Deleted Transactions"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Deleted.DeletedTransactions
original: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Deleted.DeletedTransactions
updated: 2026-11-01T17:45:47Z
license: https://documentation.invantive.eu/en/
---

# DeletedTransactions: Twinfield Deleted Transactions

`read only` `per partition` `XML`

- Catalog: `Twinfield`
- Schema: `Deleted`
- Label: Deleted Transactions

The data in this table is partitioned per value of the `COMPANY_CODE` column.

Can only retrieve data.

## Summary

Transactions deleted after entry into Twinfield. For each deleted transaction, audit information is made available plus the reason.

## API Source

- XML service: `webservices/DeletedTransactionsService.svc`
- XML topic: `DeletedTransactions`
- SOAP action: `http://www.twinfield.com/DeletedTransactionsService/Query`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 54 |
| Full scan rows per minute | 1,690 |
| Point query rows per minute | 1,111 |
| Write rows per minute | 378 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2` | [ ] |  | Twinfield company to query. |
| `dateFrom` | `datetime` | [ ] |  | Start date/time to retrieve deleted transactions for. |
| `dateTo` | `datetime` | [ ] |  | End date/time to retrieve deleted transactions for. |
| `dayBook` | `varchar2` | [ ] |  | Code of the daybook to filter upon. |

## Table Columns

The columns of the table `DeletedTransactions` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `DAYBOOK` | `varchar2` | Daybook | [x] | `Daybook` |  |
| `DELETIONDATE` | `datetime` | Date Deleted | [x] | `DeletionDate` |  |
| `REASONFORDELETION` | `varchar2` | Delete Reason | [x] | `ReasonForDeletion` |  |
| `TRANSACTIONDATE` | `datetime` | Transaction Date | [x] | `TransactionDate` |  |
| `TRANSACTIONNUMBER` | `int64` | Transaction Number | [x] | `TransactionNumber` |  |
| `USER` | `varchar2` | User | [x] | `User` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Twinfield](/en/release-notes/drivers/twinfield)

