Retrieve a recipient
A recipient by their RUC or cedula, with what you have sold them this year by document type and by month.
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
1 <= length <= 20Response 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" ] }}Search your business's recipients GET
The people and companies your key's business has issued documents to in its environment, most recent first: they are added on their own when you issue or import. `q` searches by name or identification; `counts` counts its recipients without filtering.
Search what your business sells GET
The products and services your key's business has issued in its environment, from the lines of its own documents, most recently used first. Use it to draft the lines of a new document with the business's own descriptions, codes, prices and taxes. `used_count` says in how many documents each was issued.