Descarregar PDF de documentos e recibos
Esta rota permite a obtenção de links para visualizar e descarregar PDF de documentos de venda — orçamentos, faturas-proforma, guias, faturas e notas — e recibos.
get
Path parameters
idintegerRequiredExample:
id of the document or receipt of which to get the link to the materialized PDF
1Query parameters
filter[type]string · enumRequiredExample:
is it a document or a receipt?
DocumentPossible values: filter[copies]integerOptionalExample:
number of copies of the document or receipt to print (in the PDF)
1Responses
200
OK
application/json
get
/url_for_print/{id}200
OK
curl -v -X GET -H 'Content-Type: application/vnd.api+json' -H 'Accept: application/json' -H 'Authorization: Bearer <access_token>' '<API_URL>/url_for_print/<id do documento>?filter[type]=Document&filter[copies]=1'Last updated