Emit a purchase invoice (factura de compra)

Emits a purchase invoice to the SII (or via SimpleFactura, depending on the emitting
user's approved integration key) for a source document identified by source_id /
source_type. The source must belong to the current company and be in CLP or USD.

Emission is routed by the emitting user's approved key: if a SimpleFactura key exists it
is used, otherwise the user's SII signature key is used. Returns 200 on success (no
body).

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

Id of the source document to emit the invoice for.

string
required

Class name of the source document.

string
required

RUT of the receiver.

string
required
string
required
string
required
string
required
string
required
date
required
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
200

The purchase invoice was emitted successfully.

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