Accounts

Update an account

            Update details of an existing account in Pleo. The integration must send a request to this endpoint 
            when it is trying to archive an account linked to accounting entries.
        
put/v1-beta/accounts/{accountId}

Request

Path parameters

accountIdstring uuid required

ID of the account to update.

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.

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

Update of account successful.

Changes

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