A quote's document, exactly as it was sent
GET
/v1/billing/quotes/{id}/document
const url = 'https://api.emite.cr/v1/billing/quotes/example/document';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.emite.cr/v1/billing/quotes/example/document \ --header 'Authorization: Bearer <token>'The Markdown the company was sent — the Order Form of the Terms' clause 7.14 — and its SHA-256, which the acceptance records. 404 for a quote that is not this company's.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Media typeapplication/json
object
markdown
required
The quote's document, Markdown, exactly as it was sent.
string
hash
required
SHA-256 of that text, with its prefix — what the acceptance records.
string
Examplegenerated
{ "markdown": "example", "hash": "example"}