---
updatedAt: 2026-03-16T20:42:51.000Z
agentTools:
  projectIndex: https://developer.bill.com/llms.txt
---

# Vendor archived & restored notification payloads

When you subscribe to the `vendor.archived` event, BILL sends a notification when a vendor is archived. When you subscribe to the `vendor.restored` event, BILL sends a notification when an archived vendor is restored.

## Sample `vendor.archived` payload

In this sample unescaped JSON payload, the details of an archived vendor are available. The `archived` field is set as `true`.

```json vendor.archived JSON payload
{
    "metadata": {
        "eventId": "625947c4-8e6b-48f0-ae72-ea9c9375ec27",
        "subscriptionId": "f6d06930-e3e2-4509-be37-4dbda29efc6i",
        "organizationId": "00802DEVKGROHKDIY4zyx",
        "eventType": "vendor.created",
        "version": "1"
    },
    "vendor": {
        "id": "00902BILKFECNEV2oji1",
        "name": "Happy Music Supplies",
        "shortName": "Happy",
        "archived": true,
        "email": "info@happymusicsupplies.org",
        "phone": "9876543210",
        "networkStatus": "NOT_CONNECTED",
        "accountNumber": 987000654,
        "address": {
            "line1": "123 Main St",
            "line2": "Suite 200",
            "city": "San Jose",
            "stateOrProvince": "CA",
            "zipOrPostalCode": "95002",
            "country": "US"
        },
        "paymentInformation": {
            "payeeName": "Happy Music Supplies",
            "email": "info@happymusicsupplies.org",
            "payByType": "ACH",
            "virtualCard": {
                "status": "UNENROLLED"
            }
        },
        "additionalInfo": {
            "taxId": "9998887777",
            "taxIdType": "SSN",
            "track1099": true,
            "leadTimeInDays": 10,
            "combinePayments": true,
            "companyName": "Happy Music Supplies"
        },
        "recurringPayments": false,
        "billCurrency": "USD",
        "balance": {
            "amount": 0.00
        },
        "autoPay": {
            "enabled": false
        },
        "createdTime": "2026-12-15T22:53:15.127+00:00",
        "updatedTime": "2026-12-25T22:53:15.127+00:00" 
    }
}
```

## Sample `vendor.restored` payload

In this sample unescaped JSON payload, the details of a restored vendor are available. The `archived` field is set as `false`.

```json vendor.restored JSON payload
{
    "metadata": {
        "eventId": "625947c4-8e6b-48f0-ae72-ea9c9375ec27",
        "subscriptionId": "f6d06930-e3e2-4509-be37-4dbda29efc6i",
        "organizationId": "00802DEVKGROHKDIY4zyx",
        "eventType": "vendor.created",
        "version": "1"
    },
    "vendor": {
        "id": "00902BILKFECNEV2oji1",
        "name": "Happy Music Supplies",
        "shortName": "Happy",
        "archived": false,
        "email": "info@happymusicsupplies.org",
        "phone": "9876543210",
        "networkStatus": "NOT_CONNECTED",
        "accountNumber": 987000654,
        "address": {
            "line1": "123 Main St",
            "line2": "Suite 200",
            "city": "San Jose",
            "stateOrProvince": "CA",
            "zipOrPostalCode": "95002",
            "country": "US"
        },
        "paymentInformation": {
            "payeeName": "Happy Music Supplies",
            "email": "info@happymusicsupplies.org",
            "payByType": "ACH",
            "virtualCard": {
                "status": "UNENROLLED"
            }
        },
        "additionalInfo": {
            "taxId": "9998887777",
            "taxIdType": "SSN",
            "track1099": true,
            "leadTimeInDays": 10,
            "combinePayments": true,
            "companyName": "Happy Music Supplies"
        },
        "recurringPayments": false,
        "billCurrency": "USD",
        "balance": {
            "amount": 0.00
        },
        "autoPay": {
            "enabled": false
        },
        "createdTime": "2026-12-15T22:53:15.127+00:00",
        "updatedTime": "2026-12-26T22:53:15.127+00:00" 
    }
}
```