v1

latestOpenAPI 3.1.0Apache 2.02026-07-22160175414.0 KB
Documents

Update Document

Update a document's information (e.g. accounting fields, amounts, supplier details) before booking it.

Warning: This is a PUT request — the entire resource must be provided. Any field omitted from the payload may be reset to its default value.

put/cleemy-procurement/api/documents/{id}

Request body

idinteger
type'Invoice' | 'CreditNote'

Type of document: Invoice or CreditNote.

documentDatestring date nullable
documentNumberstring nullable
accountingLabelstring nullable
commentstring nullable
intraCommunityTaxesboolean
ocrStatus'Pending' | 'Processing' | 'Processed' | 'Failed' | 'NotApplicable'

Status of OCR processing.

dueDatestring date nullable
createdAtstring date-time
modifiedAtstring date-time

Response

OK

idinteger
type'Invoice' | 'CreditNote'

Type of document: Invoice or CreditNote.

documentDatestring date nullable
documentNumberstring nullable
accountingLabelstring nullable
commentstring nullable
intraCommunityTaxesboolean
ocrStatus'Pending' | 'Processing' | 'Processed' | 'Failed' | 'NotApplicable'

Status of OCR processing.

dueDatestring date nullable
createdAtstring date-time
modifiedAtstring date-time