---
title: "Transaction Attachment - Attachment Delete"
method: POST
path: "attachment_delete"
tags: ["Webhooks", "Transaction Attachments"]
---

# Transaction Attachment - Attachment Delete

`POST attachment_delete` (webhook)

An attachment has been deleted from a `Transaction`.

## Headers

- `X-Soldo-Fingerprint` string, required — [Webhook authentication](ref:webhook-authentication): `SHA512SUM` of the fingerprint values listed in the fingerprint order for this webhook.
- `X-Soldo-Fingerprint-Order` string, required — [Webhook authentication](ref:webhook-authentication): The order of the values used to calculate the fingerprint.
- `X-Soldo-Fingerprint-Signature` string, required — [Webhook authentication](ref:webhook-authentication): Signature of the `X-Soldo-Fingerprint`. It must be verified using the [Soldo public key](ref:soldo-public-key).

## Payload

- AttachmentDeleteEvent
  - `event_uuid` string — The webhook unique ID.
  - `event_type` 'BusinessTrip' | 'Card' | 'Contact' | 'ExpenseReview' | 'Group' | 'OnlineAds' | 'Order' | 'Purchase' | 'Subscription' | 'Transaction' | 'TransactionAttachment' | 'Employee' | 'Vehicle' | 'Wallet'
  - `event_name` 'business_trip_created' | 'business_trip_updated' | 'business_trip_deleted' | 'card_activated' | 'card_change_status' | 'card_creation' | 'card_destroyed' | 'card_lost' | 'card_replaced' | 'card_stolen' | 'card_label_updated' | 'card_assignee_updated' | 'add_resources_card' | 'add_resources_member' | 'add_resources_wallet' | 'create_group' | 'delete_group' | 'move_resources_card' | 'move_resources_member' | 'move_resources_wallet' | 'remove_resources_card' | 'remove_resources_member' | 'remove_resources_wallet' | 'update_group' | 'store_order_completed' | 'store_order_placed' | 'balanced_transfer' | 'billing' | 'card_authorization' | 'conversion' | 'customer_care_deposit' | 'customer_care_withdraw' | 'edit_tag' | 'inbound_payment' | 'inbound_payment_reversal' | 'internal_transfer' | 'joule_feed' | 'load_failed' | 'load_money' | 'recurring_billing' | 'scheduled_transfer' | 'transaction_adjustment' | 'unload_money' | 'wiretransfer' | 'upload_completed' | 'attachment_delete' | 'new_user' | 'user_status_changed' | 'user_updated' | 'wallet_created' | 'wallet_deleted' | 'vehicle_create' | 'vehicle_update' | 'vehicle_delete' | 'purchase_create' | 'purchase_update' | 'purchase_delete' | 'purchase_redeem_card' | 'created_expense_configuration' | 'disabled_expense_configuration' | 'enabled_expense_configuration' | 'updated_expense_configuration' | 'completed_transactions_import' | 'updated_transaction' | 'change_expense_type' | 'subscription_activated' | 'subscription_created' | 'subscription_updated' | 'subscription_deleted' | 'subscription_assignee_added' | 'subscription_assignee_removed' | 'online_ads_activated' | 'online_ads_created' | 'online_ads_updated' | 'online_ads_deleted' | 'online_ads_assignee_added' | 'online_ads_assignee_removed' | 'transaction_created' | 'transaction_modified' | 'transaction_deleted' | 'transaction_business_trip_linked' | 'transaction_business_trip_unlinked' | 'contact_created' | 'contact_updated' | 'contact_deleted'
  - `company_account_id` string — The company account ID.
  - `data` TransactionAttachment
    - `attachment_id` string — The `TransactionAttachment` ID.
    - `transaction_id` string — The `Transaction` ID the file is attached to.
    - `file_name` string — The file name of the attachment.
    - `file_extension` string — The file extension of the attachment.
    - `file_size` integer — The file size in bytes.
    - `url` string — The url of the attachment.
    - `file_url` string — The Base64 string of the File URL encrypted by DES in ECB mode, Pkcs7 padding scheme and using Token for key. Deprecated, use `url` instead.
    - `url_type` 'DOWNLOAD_URL' | 'UPLOAD_URL' | 'UPLOAD_COMPLETED' | 'DELETE' | 'THUMBNAILS_DOWNLOAD_URL' | 'UPDATE_METADATA'
    - `attachment_type` 'RECEIPT' | 'INVOICE' | 'MAIL' | 'OTHER' | 'PURCHASE_REQUEST' | 'POP_AUTH' | 'POP_SETTLEMENT'
    - `read_only` boolean — It determines whether the attachment can be removed or updated.
    - `content_type` string — The type of the `TransactionAttachment` content (default: 'binary/octet-stream').
    - `upload_time` string — The date of upload.
    - `attachment_user_id` string — The ID of the `User` that uploaded the attachment.
    - `upload_user_channel` 'WEB' | 'MOBILE' | 'BO_USER' | 'business' | 'BAPI' | 'PAPI' | 'OTHER'
    - `compressed_file` TransactionAttachmentCompressedFile
      - `file_name` string — The file name of the compressed attachment.
      - `file_extension` string — The file extension of the compressed attachment.
      - `file_size` integer — The file size of the compressed attachment in bytes.
      - `file_url` string — The Base64 string of the Compressed File URL encrypted by DES in ECB mode, Pkcs7 padding scheme and using Token for key. Deprecated, use `url` instead.
      - `url` string — The fileUrl of the compressed attachment.
      - `url_type` 'DOWNLOAD_URL' | 'UPLOAD_URL' | 'UPLOAD_COMPLETED' | 'DELETE' | 'THUMBNAILS_DOWNLOAD_URL' | 'UPDATE_METADATA'
    - `metadata` object — The metadata of the attachment.
    - `last_update_time` string — The date and time when the `TransactionAttachment` was last updated.
  - `subscription_id` string — The webhook subscription ID used to route this event.

## Acknowledgement `200`

Success.

---

[API](https://skmtc.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/versions/7be21448a2b3/schema)
