IntegrationsSiigo

Create a sales credit note (NC) in the Siigo portal: document type, date, customer identification, seller, payment method and lines with product code, quantity, unit price without tax and tax id

POST
/integrations/connections/{connection_id}/providers/siigo/credit-notes/create

Create a sales credit note (NC) in the Siigo portal: document type, date, customer identification, seller, payment method and lines with product code, quantity, unit price without tax and tax id. Siigo numbers it; an electronic NC type is sent to the DIAN by Siigo. Siigo has no duplicate check: on an uncertain result look the note up with catalog.search (kind vouchers) before creating it again. Before creating a document, read how this company recorded similar past documents and follow the same accounting pattern instead of guessing.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

connection_id*string

Resource identifier: connection_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000/providers/siigo/credit-notes/create" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "document_type_id": 1,    "date": "example",    "customer_identification": "example",    "seller_id": 1,    "payment_method_id": 1,    "items": [      {        "product_code": "example",        "quantity": 1,        "unit_price": 0      }    ]  }'
{  "invocation_id": "123e4567-e89b-42d3-a456-426614174000",  "status": "ACTIVE",  "job_id": "example"}