Payable

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).

post/v1/erp/payouts/payables/create_buy_invoice

Request

  • Base URL
    https://api.cardda.com
  • URL
    https://api.cardda.com/v1/erp/payouts/payables/create_buy_invoice
  • Auth
    HTTP bearer

Parameters

#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0 (unresolved $ref)

Request body

source_idstring required

Id of the source document to emit the invoice for.

source_typestring required

Class name of the source document.

rutstring required

RUT of the receiver.

namestring required
addressstring required
municipalitystring required
locationstring required
activitystring required
issue_datestring date required

Response

The purchase invoice was emitted successfully.

Changes

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