Skip to main content
This how-to covers activating the Pleo Vendor once its corresponding record has been created in the Accounting System. Run this after How to Create a Vendor in the AS, which covers creating the vendor record in the Accounting System.

Prerequisites

Before you begin:

Scenario

This how-to continues from the How to Create a Vendor in the AS scenario: the “Greenfield Logistics” vendor was created in the AS with externalId: AS-VENDOR-7841 and code: 2041.

Steps

1. Activate the Vendor in Pleo

API Endpoint: POST /v1/vendors/{id}:activate Example parameters: id: c27ed4d6-3d3d-458e-8f3f-735fdf32a3bc Report the identifiers assigned by the AS back to Pleo. This transitions the Vendor’s state from DRAFT to ACTIVE. Example Pseudo:

Example Request

Example Response

This endpoint returns 204 No Content on success. Fetching the Vendor afterwards confirms the new state:

What it looks like in Pleo Web App

  1. Select Accounting from the main left-hand navigation.
  2. Select Export from the sub-menu.
  3. Click on the same row to reopen the details panel for the expense used in How to Create Vendors in Pleo.
Once activation is complete, “Greenfield Logistics” appears on the Vendor field as a normal linked Vendor, with no draft notice:
Vendor field on an expense showing Greenfield Logistics after activation, with no draft notice


Result

The table below recaps the outcome for this Vendor. The Vendor is now activated and eligible to be matched by future Vendor Sync runs using its new externalId. It becomes available for bookkeepers to tag on expenses and invoices, provided Vendor Tagging is enabled for the company. See How to Enable Vendor-Based Bookkeeping.

What Comes Next?


this how-to is part of: