Create one

Creates a new payable. This endpoint skips user authentication (it can be used by
unauthenticated flows). The company is identified by the company_id field in the
request body; send the same company UUID in the required company-id header.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body required to create a payable

integer
uuid
string
enum
Allowed:
string

An integer representing the type of document. Refer to the document_types mapping for possible values and their corresponding document types.

uuid
string
uuid

The id of an existing business partner to associate with this payable.

uuid

The id of the imprest fund this payable is charged against, if any.

date-time

The scheduled/expected payment date for this payable.

counterpart_company
object

Nested counterpart-company attributes. Use this (not top-level fields) to create/identify the counterpart company when you don't provide a counterpart_company_id. identifier is the RUT and name the company name.

business_partner
object

Nested business-partner attributes, used to create/associate the business partner (and its underlying Person partner) inline.

Headers
uuid
required

UUID of the company on whose behalf the request is made. Required for every Pay endpoint.
See The company-id header for details on how to obtain
a value for this header and the error responses to expect when it is missing or invalid.

If the deprecated company_id query parameter is also sent, both values must match;
the API returns 422 Unprocessable Entity when they disagree.

Responses

401

Unauthorized

422

Unprocessable Entity

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json