Recibos
Criação de cabeçalhos e linhas
post
Body
datestringOptionalExample:
2023-01-01payment_mechanismstringOptionalExample:
MO|CH|DC|...document_series_idintegerOptionalExample:
1bank_account_idintegerOptionalExample:
1cash_account_idintegerOptionalExample:
1return_pdfbooleanOptionalExample:
trueResponses
200
OK
application/json
idintegerOptionalExample:
1datestringOptionalExample:
2023-01-01payment_mechanismstringOptionalExample:
MO|CH|DC|...document_series_idintegerOptionalExample:
1bank_account_idintegerOptionalExample:
1cash_account_idintegerOptionalExample:
1urlstringOptionalExample:
https://app.cloudware.pt/path_to_filepost
/v1/commercial_sales_receipts200
OK
Anulação de um recibo (Caso seja preciso):
delete
Path parameters
idintegerRequired
id of the receipt line to delete
Responses
200
OK
No content
delete
/v1/commercial_sales_receipts/{id}200
OK
No content
Edição do recibo, após criação
patch
Path parameters
idintegerRequired
id of the receipt to edit the information of
Body
datestringOptionalExample:
15-07-2022payment_mechanismstringOptionalExample:
MO|CH|DC|...commercial_document_series_idintegerRequired
bank_account_idintegerRequired
cash_account_idintegerRequired
Responses
200
OK
No content
patch
/v1/commercial_sales_receipts/{id}200
OK
No content
Adição de linhas
post
Path parameters
idintegerRequired
id of the receipt to add the line to
Body
Responses
200
OK
No content
post
/v1/commercial_sales_receipt_lines/{id}200
OK
No content
Remoção de linhas
delete
Path parameters
idintegerRequired
id of the receipt line to delete
Responses
200
OK
No content
delete
/v1/commercial_sales_receipt_lines/{id}200
OK
No content
Consultar recibo
get
Path parameters
idintegerRequired
id of the receipt to get the information of
Responses
200
OK
application/json
get
/v1/commercial_sales_receipts/{id}200
OK
Last updated