getOrdersDocuments

Operation Id:
orders/documents/get [Official Documentaction]
Methods

  • orderSerialNumber Array<String>
  • documentType 'sales_confirmation'|'vat_invoice'|'corrective_vat_invoice'|'advance_vat_invoice'|'final_advance_vat_invoice'|'pro_forma_invoice'|'advance_pro_forma_invoice'|'final_advance_pro_forma_invoice'|'delivery_note'|'fiscal_receipt'|'fiscal_invoice'|'other'
  • returnElements Array<String>
Examples

This function retrieves the sales_confirmation document for the order with serial number "9".

const result = await idosellRequest.getOrdersDocuments
	.orderSerialNumber(["9"])
	.documentType("sales_confirmation")
	.exec()