Skip to main content
POST
Sign the carta manifiesto

Authorizations

Authorization
string
header
required

API key: Authorization: Bearer sk_test_... or sk_live_....

Headers

Invoice-Version
string

Pin a dated API release (Stripe-style). Omit to use the current version. An unknown value returns 400 request.invalid_version. Echoed back on every response.

Example:

"2026-07-10"

Invoice-Account
string

Connect: act on behalf of one of your connected accounts (its acct_…/org_… id). Omit to act as your own organization. Not honored on /v1/api_keys.

Example:

"org_2P9connectedacct"

Idempotency-Key
string

Safely retry any POST. The first response is stored for 24h and replayed byte-for-byte for identical retries (the replay adds an idempotent-replayed: true header). Reusing the key with a different body is 409 idempotency.key_reuse; an in-flight duplicate is 409 idempotency.key_processing. This makes retrying a 502/429 safe — no duplicate stamp.

Example:

"a1b2c3d4-e5f6-4789-8abc-1234567890ab"

Path Parameters

id
string
required

Fiscal-profile id, e.g. "fp_2P9K3sample".

Minimum string length: 1

Body

cer
file

The raw FIEL certificate (.cer) file — no base64 needed.

key
file

The raw FIEL private-key (.key) file — no base64 needed.

password
string

FIEL private-key password.

email
string

Email that receives the signed manifiesto XML + PDF (optional).

Response

Default Response

object
enum<string>
required

Always "manifest".

Available options:
manifest
fiscal_profile_id
string
required

The fiscal profile this manifiesto belongs to.

status
enum<string>
required

Resulting carta-manifiesto signing state.

Available options:
pending_signature,
signed
signed_at
string | null
required

When the manifiesto was signed (ISO-8601 UTC), or null.

already_signed
boolean
required

True when the service reported the manifiesto was already signed (no re-sign).

codigo
string
required

Raw PAC/SAT response code for the signing operation.

mensaje
string
required

Raw PAC/SAT response message.

xml_base64
string
required

Signed carta-manifiesto XML, base64 (empty when the service reports it was already signed).

pdf_base64
string
required

Signed carta-manifiesto PDF, base64 (empty when not returned).