Operation Id:
orders/exportdocuments/JPK/get [Official Documentaction]
Methods
- documentType 'JPK_FA'|'JPK_MAG'|'JPK_VAT'
- fileId Integer
- documentVersion Integer
- schemaVersion String
- dateBegin String
- dateEnd String
- month Integer
- year Integer
- currency String
- shop Array<Integer>
- stockId Array<Integer>
- forceBackgroundGenerate Boolean
- dates dateFrom: DateLike, dateTo: DateLike
Examples
This function retrieves the export documents for orders with a specific document type ("JPK_MAG"), within a specified date range (from "2023-12-01" to "2023-12-31"), and belonging to a specific stock (stock ID 1).
Loading editor...
const result = await idosellRequest.getOrdersExportdocumentsJPK .documentType("JPK_MAG") .dateBegin("2023-12-01") .dateEnd("2023-12-31") .stockId([1]) .exec();
This function filters and retrieves export documents of type "JPK_FA" within the specified date range and currency.
Loading editor...
const result = await idosellRequest.getOrdersExportdocumentsJPK .documentType("JPK_FA") .dateBegin("2023-12-01") .dateEnd("2023-12-31") .currency("PLN") .exec();
This function retrieves export documents for the specified JPK_MAG document type with a specified currency, for a specified list of stock IDs and within a specified date range.
Loading editor...
const result = await idosellRequest.getOrdersExportdocumentsJPK .documentType("JPK_MAG") .currency("abcdefg") .stockId([1,2,3]) .dates("2023-12-01", "2023-12-31") .exec();