Download OpenAPI specification:Download
Radically abstract invoicing service. Receives line items, receiver, and issuer data, then produces fiscal documents through country tax-authority integrations.
Create Document
| Idempotency-Key required | string <uuid> (Idempotency-Key) |
X-Flow-Id (string) or X-Flow-Id (null) (X-Flow-Id) | |
| X-Tenant-Id required | string (X-Tenant-Id) |
| tenant_id required | string (Tenant Id) |
| country required | string (Country) Enum: "CO" "MX" "EC" "PE" |
| document_type required | string (Document Type) Enum: "INVOICE" "CREDIT_NOTE" "DEBIT_NOTE" "PAYMENT_COMPLEMENT" "CANCELLATION" |
| intent required | string (Intent) Enum: "DRAFT" "SUBMIT" |
required | object (PartyDTO) |
required | object (PartyDTO) |
Array of objects (Line Items) | |
Array of objects (References) | |
CountrySpecificDTO (object) or null | |
PaymentDTO (object) or null | |
Emission Date (string) or Emission Date (null) (Emission Date) | |
Issuer Profile Id (string) or Issuer Profile Id (null) (Issuer Profile Id) | |
object (Metadata) |
{- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "intent": "DRAFT",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "emission_date": "2019-08-24",
- "issuer_profile_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "string",
- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "status": "DRAFT",
- "fiscal_status": "not_submitted",
- "lifecycle_status": "draft",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "superseded_by": "string",
- "emission_date": "2019-08-24",
- "cancellation_reason": "string",
- "failure_reason": "string",
- "failure": {
- "code": "string",
- "classification": "fatal",
- "message": "string",
- "provider_response": { }
}, - "provider_operation_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}List Documents
Country (string) or Country (null) (Country) | |
Fiscal Status (string) or Fiscal Status (null) (Fiscal Status) | |
Lifecycle Status (string) or Lifecycle Status (null) (Lifecycle Status) | |
Document Type (string) or Document Type (null) (Document Type) | |
Provider Operation Id (string) or Provider Operation Id (null) (Provider Operation Id) | |
Fiscal Id (string) or Fiscal Id (null) (Fiscal Id) | |
After (string) or After (null) (After) | |
| limit | integer (Limit) Default: 50 |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "items": [
- {
- "id": "string",
- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "status": "DRAFT",
- "fiscal_status": "not_submitted",
- "lifecycle_status": "draft",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "superseded_by": "string",
- "emission_date": "2019-08-24",
- "cancellation_reason": "string",
- "failure_reason": "string",
- "failure": {
- "code": "string",
- "classification": "fatal",
- "message": "string",
- "provider_response": { }
}, - "provider_operation_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "next_after": "2019-08-24T14:15:22Z"
}Get Document
| document_id required | string (Document Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "status": "DRAFT",
- "fiscal_status": "not_submitted",
- "lifecycle_status": "draft",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "superseded_by": "string",
- "emission_date": "2019-08-24",
- "cancellation_reason": "string",
- "failure_reason": "string",
- "failure": {
- "code": "string",
- "classification": "fatal",
- "message": "string",
- "provider_response": { }
}, - "provider_operation_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Patch Document
| document_id required | string (Document Id) |
| Idempotency-Key required | string <uuid> (Idempotency-Key) |
If-Match (string) or If-Match (null) (If-Match) | |
| X-Tenant-Id required | string (X-Tenant-Id) |
Status (string) or Status (null) (Status) | |
Fiscal Id (string) or Fiscal Id (null) (Fiscal Id) | |
Fiscal Document Urls (object) or Fiscal Document Urls (null) (Fiscal Document Urls) | |
Cancellation Reason (string) or Cancellation Reason (null) (Cancellation Reason) | |
Failure Reason (string) or Failure Reason (null) (Failure Reason) | |
Metadata (object) or Metadata (null) (Metadata) |
{- "status": "DRAFT",
- "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "cancellation_reason": "string",
- "failure_reason": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "string",
- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "status": "DRAFT",
- "fiscal_status": "not_submitted",
- "lifecycle_status": "draft",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "superseded_by": "string",
- "emission_date": "2019-08-24",
- "cancellation_reason": "string",
- "failure_reason": "string",
- "failure": {
- "code": "string",
- "classification": "fatal",
- "message": "string",
- "provider_response": { }
}, - "provider_operation_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get Document Events
| document_id required | string (Document Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "items": [
- {
- "type": "string",
- "occurred_at": "string",
- "data": { }
}
]
}Cancel Document
| document_id required | string (Document Id) |
| Idempotency-Key required | string <uuid> (Idempotency-Key) |
| X-Tenant-Id required | string (X-Tenant-Id) |
Reason (string) or Reason (null) (Reason) | |
CountrySpecificDTO (object) or null |
{- "reason": "string",
- "country_specific": {
- "type": "co_dian.v2024_11"
}
}{- "id": "string",
- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "status": "DRAFT",
- "fiscal_status": "not_submitted",
- "lifecycle_status": "draft",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "superseded_by": "string",
- "emission_date": "2019-08-24",
- "cancellation_reason": "string",
- "failure_reason": "string",
- "failure": {
- "code": "string",
- "classification": "fatal",
- "message": "string",
- "provider_response": { }
}, - "provider_operation_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Void Document
| document_id required | string (Document Id) |
| Idempotency-Key required | string <uuid> (Idempotency-Key) |
| X-Tenant-Id required | string (X-Tenant-Id) |
Reason (string) or Reason (null) (Reason) | |
Any of string (Reason) | |
{- "reason": "string"
}{- "id": "string",
- "tenant_id": "string",
- "country": "CO",
- "document_type": "INVOICE",
- "status": "DRAFT",
- "fiscal_status": "not_submitted",
- "lifecycle_status": "draft",
- "issuer": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "receiver": {
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "line_items": [
- {
- "description": "string",
- "unit_price": {
- "amount": "string",
- "currency": "string"
}, - "quantity": 1,
- "tax_code": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "references": [
- {
- "relation": "CANCELS",
- "document_id": "string",
- "external": {
- "fiscal_id": "string",
- "provider_doc_id": "string",
- "issued_at": "string"
}
}
], - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "payment": {
- "payment_date": "string",
- "payment_method": "string",
- "currency": "string",
- "amount": "string",
- "exchange_rate": "string",
- "operation_number": "string"
}, - "fiscal_id": "string",
- "fiscal_document_urls": {
- "property1": "string",
- "property2": "string"
}, - "superseded_by": "string",
- "emission_date": "2019-08-24",
- "cancellation_reason": "string",
- "failure_reason": "string",
- "failure": {
- "code": "string",
- "classification": "fatal",
- "message": "string",
- "provider_response": { }
}, - "provider_operation_id": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Get Document Evidence
| document_id required | string (Document Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "items": [
- {
- "id": "string",
- "provider": "string",
- "operation": "string",
- "request_payload": { },
- "response_status": 0,
- "response_body": { },
- "stored_at": "2019-08-24T14:15:22Z"
}
]
}Create Party
| X-Tenant-Id required | string (X-Tenant-Id) |
| tenant_id required | string (Tenant Id) |
| kind required | string (Kind) Enum: "issuer" "receiver" "both" |
| tax_id required | string (Tax Id) |
| tax_id_type required | string (Tax Id Type) Enum: "RFC" "NIT" "RUC" "GENERIC_ID" |
| name required | string (Name) |
| country required | string (Country) Enum: "CO" "MX" "EC" "PE" |
Email (string) or Email (null) (Email) | |
AddressDTO (object) or null | |
CountrySpecificDTO (object) or null | |
object (Metadata) |
{- "tenant_id": "string",
- "kind": "issuer",
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "country": "CO",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "string",
- "tenant_id": "string",
- "kind": "string",
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "country": "CO",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}List Parties
| include_deactivated | boolean (Include Deactivated) Default: false |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "items": [
- {
- "id": "string",
- "tenant_id": "string",
- "kind": "string",
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "country": "CO",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Get Party
| party_id required | string (Party Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "kind": "string",
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "country": "CO",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Deactivate Party
| party_id required | string (Party Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "kind": "string",
- "tax_id": "string",
- "tax_id_type": "RFC",
- "name": "string",
- "country": "CO",
- "email": "string",
- "address": {
- "line1": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "line2": "string",
- "region": "string"
}, - "country_specific": {
- "type": "co_dian.v2024_11"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Create Issuer Profile
| X-Tenant-Id required | string (X-Tenant-Id) |
| tenant_id required | string (Tenant Id) |
| party_id required | string (Party Id) |
| country required | string (Country) Enum: "CO" "MX" "EC" "PE" |
| issuer_series required | string (Issuer Series) |
Secret Arn (string) or Secret Arn (null) (Secret Arn) | |
External Ref (string) or External Ref (null) (External Ref) | |
object (Provider Config) | |
Numerator Prefix (string) or Numerator Prefix (null) (Numerator Prefix) | |
| numerator_range_min | integer (Numerator Range Min) Default: 1 |
| numerator_range_max | integer (Numerator Range Max) Default: 9223372036854776000 |
{- "tenant_id": "string",
- "party_id": "string",
- "country": "CO",
- "issuer_series": "string",
- "secret_arn": "string",
- "external_ref": "string",
- "provider_config": {
- "property1": "string",
- "property2": "string"
}, - "numerator_prefix": "string",
- "numerator_range_min": 1,
- "numerator_range_max": 9223372036854776000
}{- "id": "string",
- "tenant_id": "string",
- "party_id": "string",
- "country": "CO",
- "issuer_series": "string",
- "external_ref": "string",
- "provider_config": {
- "property1": "string",
- "property2": "string"
}, - "numerator_prefix": "string",
- "numerator_range_min": 0,
- "numerator_range_max": 0,
- "numerator_current": 0,
- "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}List Issuer Profiles
Country (string) or Country (null) (Country) | |
Issuer Series (string) or Issuer Series (null) (Issuer Series) | |
External Ref (string) or External Ref (null) (External Ref) | |
| include_deactivated | boolean (Include Deactivated) Default: false |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "items": [
- {
- "id": "string",
- "tenant_id": "string",
- "party_id": "string",
- "country": "CO",
- "issuer_series": "string",
- "external_ref": "string",
- "provider_config": {
- "property1": "string",
- "property2": "string"
}, - "numerator_prefix": "string",
- "numerator_range_min": 0,
- "numerator_range_max": 0,
- "numerator_current": 0,
- "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Get Issuer Profile
| profile_id required | string (Profile Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "party_id": "string",
- "country": "CO",
- "issuer_series": "string",
- "external_ref": "string",
- "provider_config": {
- "property1": "string",
- "property2": "string"
}, - "numerator_prefix": "string",
- "numerator_range_min": 0,
- "numerator_range_max": 0,
- "numerator_current": 0,
- "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Deactivate Issuer Profile
| profile_id required | string (Profile Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "party_id": "string",
- "country": "CO",
- "issuer_series": "string",
- "external_ref": "string",
- "provider_config": {
- "property1": "string",
- "property2": "string"
}, - "numerator_prefix": "string",
- "numerator_range_min": 0,
- "numerator_range_max": 0,
- "numerator_current": 0,
- "deactivated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Create Webhook Subscription
| X-Tenant-Id required | string (X-Tenant-Id) |
| tenant_id required | string (Tenant Id) |
| name required | string (Name) |
| url required | string (Url) |
| event_types required | Array of strings (Event Types) non-empty |
Secret (string) or Secret (null) (Secret) |
{- "tenant_id": "string",
- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "secret": "string"
}{- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "active": true,
- "last_published_offset": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "secret": "string"
}List Webhook Subscriptions
| include_inactive | boolean (Include Inactive) Default: false |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "items": [
- {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "active": true,
- "last_published_offset": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Get Webhook Subscription
| subscription_id required | string (Subscription Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "active": true,
- "last_published_offset": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update Webhook Subscription
| subscription_id required | string (Subscription Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
Name (string) or Name (null) (Name) | |
Url (string) or Url (null) (Url) | |
Array of Event Types (strings) or Event Types (null) (Event Types) | |
Active (boolean) or Active (null) (Active) |
{- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "active": true
}{- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "active": true,
- "last_published_offset": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Delete Webhook Subscription
| subscription_id required | string (Subscription Id) |
| X-Tenant-Id required | string (X-Tenant-Id) |
{- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "url": "string",
- "event_types": [
- "string"
], - "active": true,
- "last_published_offset": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Receive Fg Webhook
required | object (FacturaGreenWebhookEvent) |
required | object (FacturaGreenWebhookData) |
{- "event": {
- "type": "string",
- "uuid": "string"
}, - "data": {
- "business_uuid": "string",
- "customer_uuid": "string",
- "cfdi": {
- "uuid": "string",
- "scope": "string",
- "folio": "string",
- "serie": "string"
}
}
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}