Operation Id:
orders/documents/post [Official Documentaction]
Methods
- documents Array<Object>
- orderSerialNumber Integer
- name String
- pdfBase64 String
- type 'vat_invoice'|'corrective_vat_invoice'|'other'
- returnedInOrderDetails 'y'|'n'
- additionalData Object
Examples
This function updates the name and type of a document with order serial number 9 in the postOrdersDocuments system.
const result = await idosellRequest.postOrdersDocuments
.orderSerialNumber(9)
.type("other")
.name("document")
.exec()