DocumentCreateInput
RequestAnnounce a file to upload. Its type is taken from the file name's extension (PDF, JPEG, PNG, TIFF, HEIC); the upload must send that type. What the document says (its date, kind and contact) may be sent with it, as a migration carries them from the source system; a later OCR reading never replaces a kind sent here.
Sent in requests. Its values are closed: anything not listed is refused.
Attributes
6The date printed on the document, when known (not the upload date).
What the document is. Stored as stated by the caller, so a later OCR reading does not replace it. Only the kinds a received document can be; the app's own sales documents are not created here.
One of invoice, credit_note, receipt, tax_notice, account_statement, delivery_note, contract, other