Appearance
document-contract-notes​
Manage contract notes
Operations​
GET/accounts/{accountUuid}/documents/v2/contract-notesPOST/accounts/{accountUuid}/documents/v2/contract-notesGET/accounts/{accountUuid}/documents/v2/contract-notes/{contractNoteUuid}PATCH/accounts/{accountUuid}/documents/v2/contract-notes/{contractNoteUuid}GET/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actionsPOST/accounts/{accountUuid}/documents/v2/contract-notes/calculateGET/accounts/{accountUuid}/documents/v2/contract-notes/{contractNoteUuid}/actionsGET/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/attachmentsPOST/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/attachmentsPOST/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/calculatePATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/archivePATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/collectInvoicePATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/markSentPATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/massDownloadZipPATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/massPrintPATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/massSentPATCH/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/plannedMailPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/archivePATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/cancelPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/cancelPermanentlyPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/clonePATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertCNDNPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertCNIPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertTemplateToContractNotePATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertToTemplatePATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/createFinalPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/createPartialPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/deletePATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/downloadPdfPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/emailPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/markSentPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/plannedMailPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/printPATCH/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/restoreDELETE/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/attachments/{attachmentUuid}
Get contract notes​
GET
/accounts/{accountUuid}/documents/v2/contract-notes
Get contract notes
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Query Parameters
is_template
get templates
Type
boolean
Default
falseupdatedSince
filter for updated items
limit
pagination limit
Type
[
"number",
"null"
]
Maximum
400Minimum
1page
pagination page
Type
[
"number",
"null"
]
Default
1Minimum
1Responses​
Successful response
application/json
JSON"data": {"uuid": "string","id": 0,"currencyCode": "string","currencyCodeRecognized": "string","title": "string","reference": "string","status": "string","sentStatus": "string","customField1": "string","customField2": "string","customField3": "string","customField4": "string","contractNoteDate": "string","dueDate": "string","receiver": {"addressUuid": "string","companyUuid": "string","customerNumber": "string","name": "string","email": "string"},"documentTotal": 0,"contractNoteNumber": "string","isArchived": true,"isCancelled": true,"updatedAt": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Create contract note​
POST
/accounts/{accountUuid}/documents/v2/contract-notes
Create contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documents": [{"currencyCode": "string","title": "string","reference": "string","customField1": "string","customField2": "string","customField3": "string","customField4": "string","terms": "string","publicNotes": "string","footerText": "string","isTemplate": true,"contractNoteDate": "string","dueDate": "string","deliveryDate": "string","paymentInstructions": null,"pricesIncludeVat": true,"documentTotal": 0,"positions": [{"positionNumber": 0,"uuid": "string","kind": "product","unitUuid": "string","unitCode": "C62","quantity": 1,"singlePrice": 0,"discount": {"percentage": 0},"vatUuid": "string","vat": {"percentage": 0},"productUuid": "string","productDescription": "string"}],"documentDiscount": {"percentage": 0},"receiver": null}]
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Responses​
Contract note created
application/json
JSON"data": {"documents": [{"id": 0,"uuid": "string","currencyCode": "string","currencyCodeRecognized": "string","title": "string","reference": "string","sentStatus": "string","status": "string","customField1": "string","customField2": "string","customField3": "string","customField4": "string","terms": "string","publicNotes": "string","footerText": "string","receiver": {"addressUuid": "string","companyUuid": "string","networkUuid": "string","networkKey": "string","networkName": "string","deliveryAddressUuid": "string","contactPersonUuid": "string","additionalReceivers": [{"personUuid": "string"}],"receiverInformation": {"customerNumber": "string","companyName": "string","name": "string","nameWithSalutation": "string","careOfAddress": "string","address": "string","extension": "string","houseNumber": "string","zipCode": "string","city": "string","countryCode": "string","email": "string","language": "string","deliveryAddress": {"companyName": "string","name": "string","nameWithSalutation": "string","careOfAddress": "string","address": "string","extension": "string","houseNumber": "string","zipCode": "string","city": "string","countryCode": "string"},"additionalReceivers": [{"fullName": "string","email": "string"}]}},"contractNoteDate": "string","dueDate": "string","deliveryDate": "string","paymentInstructions": {"bankAccountUuid": "string","iban": "string","bic": "string"},"pricesIncludeVat": true,"documentTotal": 0,"positions": [{"uuid": "string","positionNumber": 0,"kind": "string","productNumber": "string","productDescription": "string","productUuid": "string","productGroupUuid": "string","singlePrice": 0,"positionTotal": 0,"discount": {"amount": 0},"vatUuid": "string","vat": {"percentage": 0,"amount": 0},"quantity": 0,"unitUuid": "string","employeeActivityUuid": "string","employeeActivityEmployeeUuid": "string","employeeActivityStartDate": "string","relatedInvoice": {"uuid": "string","type": "string","number": "string"},"originalInvoice": {"uuid": "string","type": "string","number": "string"}}],"isTemplate": true,"isImported": true,"contractNoteNumber": "string","type": "string","documentDiscount": {"amount": 0}}]},"status": 201,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Get contract note​
GET
/accounts/{accountUuid}/documents/v2/contract-notes/{contractNoteUuid}
Get a single contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"contractNoteUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successful response
application/json
JSON"data": {"documents": [{"id": 0,"uuid": "string","currencyCode": "string","currencyCodeRecognized": "string","title": "string","reference": "string","sentStatus": "string","status": "string","customField1": "string","customField2": "string","customField3": "string","customField4": "string","terms": "string","publicNotes": "string","footerText": "string","receiver": {"addressUuid": "string","companyUuid": "string","networkUuid": "string","networkKey": "string","networkName": "string","deliveryAddressUuid": "string","contactPersonUuid": "string","additionalReceivers": [{"personUuid": "string"}],"receiverInformation": {"customerNumber": "string","companyName": "string","name": "string","nameWithSalutation": "string","careOfAddress": "string","address": "string","extension": "string","houseNumber": "string","zipCode": "string","city": "string","countryCode": "string","email": "string","language": "string","deliveryAddress": {"companyName": "string","name": "string","nameWithSalutation": "string","careOfAddress": "string","address": "string","extension": "string","houseNumber": "string","zipCode": "string","city": "string","countryCode": "string"},"additionalReceivers": [{"fullName": "string","email": "string"}]}},"contractNoteDate": "string","dueDate": "string","deliveryDate": "string","paymentInstructions": {"bankAccountUuid": "string","iban": "string","bic": "string"},"pricesIncludeVat": true,"documentTotal": 0,"positions": [{"uuid": "string","positionNumber": 0,"kind": "string","productNumber": "string","productDescription": "string","productUuid": "string","productGroupUuid": "string","singlePrice": 0,"positionTotal": 0,"discount": {"amount": 0},"vatUuid": "string","vat": {"percentage": 0,"amount": 0},"quantity": 0,"unitUuid": "string","employeeActivityUuid": "string","employeeActivityEmployeeUuid": "string","employeeActivityStartDate": "string","relatedInvoice": {"uuid": "string","type": "string","number": "string"},"originalInvoice": {"uuid": "string","type": "string","number": "string"}}],"isTemplate": true,"isImported": true,"contractNoteNumber": "string","type": "string","documentDiscount": {"amount": 0}}]},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Update contract note​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{contractNoteUuid}
Update contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"contractNoteUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documents": [{"currencyCode": "string","title": "string","reference": "string","customField1": "string","customField2": "string","customField3": "string","customField4": "string","terms": "string","publicNotes": "string","footerText": "string","isTemplate": true,"contractNoteDate": "string","dueDate": "string","deliveryDate": "string","paymentInstructions": null,"pricesIncludeVat": true,"documentTotal": 0,"positions": [{"positionNumber": 0,"uuid": "string","kind": "product","unitUuid": "string","unitCode": "C62","quantity": 1,"singlePrice": 0,"discount": {"percentage": 0},"vatUuid": "string","vat": {"percentage": 0},"productUuid": "string","productDescription": "string"}],"documentDiscount": {"percentage": 0},"receiver": null}]
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Responses​
Contract note updated
application/json
JSON"data": {"documents": [{"id": 0,"uuid": "string","currencyCode": "string","currencyCodeRecognized": "string","title": "string","reference": "string","sentStatus": "string","status": "string","customField1": "string","customField2": "string","customField3": "string","customField4": "string","terms": "string","publicNotes": "string","footerText": "string","receiver": {"addressUuid": "string","companyUuid": "string","networkUuid": "string","networkKey": "string","networkName": "string","deliveryAddressUuid": "string","contactPersonUuid": "string","additionalReceivers": [{"personUuid": "string"}],"receiverInformation": {"customerNumber": "string","companyName": "string","name": "string","nameWithSalutation": "string","careOfAddress": "string","address": "string","extension": "string","houseNumber": "string","zipCode": "string","city": "string","countryCode": "string","email": "string","language": "string","deliveryAddress": {"companyName": "string","name": "string","nameWithSalutation": "string","careOfAddress": "string","address": "string","extension": "string","houseNumber": "string","zipCode": "string","city": "string","countryCode": "string"},"additionalReceivers": [{"fullName": "string","email": "string"}]}},"contractNoteDate": "string","dueDate": "string","deliveryDate": "string","paymentInstructions": {"bankAccountUuid": "string","iban": "string","bic": "string"},"pricesIncludeVat": true,"documentTotal": 0,"positions": [{"uuid": "string","positionNumber": 0,"kind": "string","productNumber": "string","productDescription": "string","productUuid": "string","productGroupUuid": "string","singlePrice": 0,"positionTotal": 0,"discount": {"amount": 0},"vatUuid": "string","vat": {"percentage": 0,"amount": 0},"quantity": 0,"unitUuid": "string","employeeActivityUuid": "string","employeeActivityEmployeeUuid": "string","employeeActivityStartDate": "string","relatedInvoice": {"uuid": "string","type": "string","number": "string"},"originalInvoice": {"uuid": "string","type": "string","number": "string"}}],"isTemplate": true,"isImported": true,"contractNoteNumber": "string","type": "string","documentDiscount": {"amount": 0}}]},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Get bulk actions​
GET
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions
Get contract note bulk actions
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Query Parameters
forList
filter list actions
Type
boolean
Default
falseResponses​
Successful response
application/json
JSON"data": {"additionalProperties": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Calculate amounts of new document​
POST
/accounts/{accountUuid}/documents/v2/contract-notes/calculate
Calculates the amounts of a document for previewing without manipulating any resources
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"currencyCode": "string","positions": [{"positionNumber": 0,"uuid": "string","kind": "product","unitUuid": "string","unitCode": "C62","quantity": 1,"singlePrice": 0,"discount": {"percentage": 0},"vatUuid": "string","vat": {"percentage": 0},"productUuid": "string","productDescription": "string"}],"documentDiscount": {"percentage": 0},"invoiceDate": "string","pricesIncludeVat": true
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Responses​
Successful response
application/json
JSON"data": {"total": 0,"positionTotal": 0,"discount": 0,"roundingDifference": 0,"taxes": [{"rate": 0,"value": 0,"name": "string","baseSum": 0}],"totalInvoicedAmount": 0},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Get actions​
GET
/accounts/{accountUuid}/documents/v2/contract-notes/{contractNoteUuid}/actions
Get contract note actions
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"contractNoteUuid*
Type
Requiredstring
Format
"uuid"Query Parameters
forList
filter list actions
Type
boolean
Default
falseResponses​
Successful response
application/json
JSON"data": {"additionalProperties": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Get attachments​
GET
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/attachments
Get attachments for a document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successful response
application/json
JSON"data": [{"uuid": "string","name": "string","fileSize": 0,"mimeType": "string","url": "string"}],"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Upload attachment​
POST
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/attachments
Upload an attachment for a document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Request Body​
multipart/form-data
Format
"binary"Responses​
Document attachment uploaded
application/json
JSON"data": {"uuid": "string","name": "string","fileSize": 0,"mimeType": "string","url": "string"},"status": 201,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Calculate amounts of an existing document​
POST
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/calculate
Calculates the amounts of an existing document for previewing without manipulating any resources
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"currencyCode": "string","positions": [{"positionNumber": 0,"uuid": "string","kind": "product","unitUuid": "string","unitCode": "C62","quantity": 1,"singlePrice": 0,"discount": {"percentage": 0},"vatUuid": "string","vat": {"percentage": 0},"productUuid": "string","productDescription": "string"}],"documentDiscount": {"percentage": 0},"invoiceDate": "string","pricesIncludeVat": true
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Responses​
Successful response
application/json
JSON"data": {"total": 0,"positionTotal": 0,"discount": 0,"roundingDifference": 0,"taxes": [{"rate": 0,"value": 0,"name": "string","baseSum": 0}],"totalInvoicedAmount": 0},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute archive bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/archive
Marks the document as archived
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"additionalProperties": []},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute collectInvoice bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/collectInvoice
Creates a collective invoice out of the selected items
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute markSent bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/markSent
Triggers the mark sent action for each document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"additionalProperties": []},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute massDownloadZip bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/massDownloadZip
Zips and downloads each document. The result is sent to the inbox
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"additionalProperties": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute massPrint bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/massPrint
Triggers the print action for each document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"additionalProperties": []},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute massSent bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/massSent
Triggers the send action for each document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"additionalProperties": []},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute plannedMail bulk action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/bulk-actions/plannedMail
Triggers the plan mail action for each document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"documentUuids": ["string"]
{
 Â
 Â
 Â
 Â
}
Responses​
Successfully bulk executed action
application/json
JSON"data": {"additionalProperties": []},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute archive action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/archive
Archives the document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}
Execute cancel action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/cancel
Cancels and moves the document back to draft
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}
Execute cancelPermanently action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/cancelPermanently
Cancels the document permanently. It cannot be edited afterwards
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}
Execute clone action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/clone
Creates a copy of the document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute convertCNDN action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertCNDN
Creates a delivery note out of a contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute convertCNI action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertCNI
Creates an invoice out of a contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute convertTemplateToContractNote action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertTemplateToContractNote
Creates a contract note out of a template
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute convertToTemplate action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/convertToTemplate
Creates a template out of a document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","isTemplate": true},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute createFinal action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/createFinal
Creates a final invoice for a contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"relatedInvoiceDate": "string","relatedDueDate": "string"
{
 Â
 Â
}
Responses​
Successfully executed action
application/json
JSON"data": {"printUrl": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute createPartial action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/createPartial
Create a partial invoice for a contract note
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Request Body​
application/json
JSON"invoiceItemUuids": ["string"],"relatedInvoiceDate": "string","relatedDueDate": "string"
{
 Â
 Â
 Â
 Â
 Â
 Â
}
Responses​
Successfully executed action
application/json
JSON"data": {"printUrl": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute delete action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/delete
Deletes a document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}
Execute downloadPdf action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/downloadPdf
Gets the download uri for the document's pdf
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"downloadUrl": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute email action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/email
Sends the document via email
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}
Execute markSent action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/markSent
Marks the invoice as sent
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute plannedMail action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/plannedMail
Schedules the email for sending the document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}
Execute print action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/print
Creates the PDF for printing
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string","printUrl": "string","document": {"url": "string","preview_url": "string"}},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Execute restore action​
PATCH
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/actions/restore
Restores an archived document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Successfully executed action
application/json
JSON"data": {"type": "string","id": 0,"uuid": "string"},"status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}
Delete attachment​
DELETE
/accounts/{accountUuid}/documents/v2/contract-notes/{documentUuid}/attachments/{attachmentUuid}
Delete an attachment from a document
Authorizations​
ApiToken
Bearer token authentication. Create tokens in Settings > API Token.
Type
HTTP (bearer)
Parameters​
Path Parameters
accountUuid*
Type
Requiredstring
Format
"uuid"documentUuid*
Type
Requiredstring
Format
"uuid"attachmentUuid*
Type
Requiredstring
Format
"uuid"Responses​
Document attachment deleted
application/json
JSON"data": "string","status": 200,"message": "string","meta": {}
{
 Â
 Â
 Â
 Â
 Â
}