Email several documents again
Queues the email of up to 100 documents, with the rules of sending one: only authorized ones, to each one's recipient or to the addresses in to. It answers with the result for each: one that cannot be sent does not stop the others.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The documents, from one to 100.
1 <= items <= 100Who to send them to. If you omit it, each one goes to its document's recipient, in any environment.
1 <= items <= 10Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/ec/documents/email" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "6e0346a3-e54d-40e3-9779-4ba1e707e35b" ] }'{ "object": "bulk_email", "queued": 0, "refused": 0, "data": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "status": "queued", "to": [ "string" ], "reason": "string", "code": "string", "params": { "property1": "string", "property2": "string" } } ]}Download several documents in a ZIP POST
The RIDE, the authorized XML or both of up to 100 documents of any type, in a single ZIP that is streamed as it is built. Each file is named like its individual download. Documents that have no files yet (not authorized, or with the RIDE still being prepared) are left out, and `Fiscalbase-Skipped` says how many; if none has them, `409`. An id that does not belong to your environment is `404`.
Check a document's status now POST
Asks the SRI right now whether it has decided on a `submitted` document, without waiting for the next scheduled check; the answer arrives through the usual flow (the status changes and the webhook is sent). A `pending` document is already being signed or sent, and one the SRI has already decided has nothing to ask: both come back as they are, with nothing queued. Each document is checked at most once every 10 seconds: repeating it sooner answers `429` with `Retry-After`, and the SRI receives a single question however many times it is pressed.