Recipients

Retrieve a recipient

GET
/v1/ec/recipients/{identification}

A recipient by their RUC or cedula, with what you have sold them this year by document type and by month.

Authorization

AuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_sandbox_… issues in sandbox, fb_test_… in test, the tax authority's testing service, and fb_live_… in live.

In: header

Path Parameters

identification*string
Length1 <= length <= 20

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/ec/recipients/string"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "recipient",  "identification": "string",  "name": "string",  "email": "string",  "currency": "string",  "year_count": 0,  "year_total": "string",  "sales_total": "string",  "phone": "string",  "email_bounced": true,  "last_issue_date": "2019-08-24",  "sri_status": "active",  "portal_request": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "entity_id": "8161163a-f227-466f-bc01-090a01e80165",    "email": "user@example.com",    "created_at": "2019-08-24T14:15:22Z"  },  "created_at": "2019-08-24T14:15:22Z",  "year": {    "year": 0,    "count": 0,    "currency": "string",    "total": "string",    "by_type": {      "invoice": 0,      "credit_note": 0,      "debit_note": 0,      "withholding": 0,      "delivery_note": 0,      "purchase_settlement": 0    },    "by_month": [      "string"    ]  }}