Re-read the data from the SRI registry
Reads again the legal name, accounting and regime of a live business from the SRI registry, which changes them when the taxpayer does. What you wrote yourself (trade name, addresses, contact, resolutions) is left alone, and the regime stays as it was if the registry does not say. 409 for a sandbox business, whose data is made up; 503 if the registry does not respond.
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
uuidResponse Body
application/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/v1/ec/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/refresh"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "entity", "kind": "sandbox", "country": "ec", "ruc": "string", "legal_name": "string", "trade_name": "string", "head_office_address": "string", "head_office_phone": "string", "head_office_email": "string", "reply_to_email": "string", "footer_legend": "string", "keeps_accounting": true, "regime": "general", "special_taxpayer_resolution": "string", "withholding_agent_resolution": "string", "large_taxpayer_resolution": "string", "certificate": { "holder": "string", "holder_identification": "string", "holder_identification_type": "cedula", "kind": "natural_person", "issuer_name": "string", "subject": "string", "issuer": "string", "serial_number": "string", "valid_from": "2019-08-24T14:15:22Z", "valid_until": "2019-08-24T14:15:22Z" }, "portal_shows_test": true, "live_since": "2019-08-24T14:15:22Z", "issuing": { "allowed": true, "lock": { "code": "plan_required", "message": "string", "canceled": true } }, "logo": { "url": "http://example.com", "content_type": "image/png", "size": 0 }, "created_at": "2019-08-24T14:15:22Z"}Upload the signing certificate POST
The .p12 and its password are verified (the certificate must belong to the entity and be valid) and sealed: the API can no longer open them; only the signing process can. The last certificate you upload signs `test` and `live` documents while it is valid; when it expires no earlier one signs, even if still valid: upload a new one.
List a series' skips GET
Each time a document in the series left behind a number the SRI already had registered (error 45), from newest to oldest. It explains the numbers the series skipped.