Factunexo Docs
API RESTReferenciaBillingRetenciones

Obtener retención por ID

GET
/api/v1/billing/retentions/{id}

Authorization

X-API-Secret<token>

API Secret para autenticación. Debe enviarse junto con X-API-Key.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/api/v1/billing/retentions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "requestId": "string",  "timestamp": "string",  "data": {    "retentionId": "e8850ac5-f020-4588-b05f-303dd0070e5c",    "receiptId": "4937ce52-e283-4321-b00f-c29b6dd5d0e9",    "sequential": "string",    "emissionDate": "2019-08-24",    "status": "SAVED",    "authorizationNumber": "string",    "authorizationDate": "2019-08-24T14:15:22Z",    "providerId": "4834bcdc-4a64-444d-966b-1a6fe381da24",    "info": {      "emissionDate": "2019-08-24",      "address": "string",      "specialTaxpayerType": "ZERO",      "mandatoryAccountingType": "NO",      "identificationTypeWithheldSubject": "string",      "socialReasonWithheldSubject": "string",      "identificationWithheldSubject": "string",      "fiscalPeriod": "string",      "docCode": "INVOICE",      "docNum": "string",      "docIssueDate": "2019-08-24"    },    "taxes": [      {        "code": "string",        "retentionCode": "string",        "base": 0,        "retentionPercentage": 0,        "retainedValue": 0,        "supportDocCode": "string",        "supportDocNum": "string",        "supportDocIssueDate": "string"      }    ]  }}