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 void
Responses
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_filepatch
/v1/commercial_sales_receipts/{id}/void200
OK
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