Accounts

Create a new account.

    The integration sends a request to this endpoint to create a corresponding account in Pleo for any 
    new record created in the external ERP/accounting system. The request fails if any similar accounts with 
    the same `externalId` and `companyId` already exists in Pleo.
    
post/v1-beta/accounts

Request

Request body

archivedboolean required

Boolean flag used to determine if the account is archived.

codestring nullable

Account code or number used in the accounting system's chart of accounts.

companyIdstring uuid required

Pleo's internal identifier for the company the account is associated with.

externalIdstring required
        Unique external identifier of account, assigned in the external ERP/accounting system. 
        Can be the same as code if no other identifier is available.
    
metadataobject nullable

Place for API users to store flexible data.

namestring required

Name of the account.

taxCodeExternalIdstring nullable
        The identifier in **the target system** for the tax code the account is associated with.
        - This is NOT the tax percentage (e.g. 20%)
        - This is NOT the Pleo UUID of the tax code
    

Response

Request matched existing account.

Changes

No recorded changes to this operation across all 1 revision of this API.