Conditions on stock movements: a movement is listed when it meets every condition given. Omitted conditions do not filter.
Pola
Pole
Typ
Opis
documentNumber
String
Only movements booked with exactly this delivery document number (StockMovement.documentNumber), without case — not a part of it, like PaperFilterInput.barcode (PurchaseInvoiceFilterInput.invoiceNumber matches a part). With purchaseOrderId it tells whether a delivery note was already received. Up to 100 characters; blank: no condition.
elementId
ID
Only movements booked for this element of a product (StockMovement.elementId). Since 0.32.0 an issue records the element of the operation it names; older issues only the ids they were given.
materialId
ID
Only movements of this material (a paper, a paint or a foil).
Only movements booked at or after this moment (inclusive). For incremental sync: pass the latest occurredAt you have seen, minus a few minutes, sort by OCCURRED_AT ascending and skip the movements you already have (by id). Null or left out: no lower bound.
Only movements booked before this moment (exclusive), e.g. the end of a reporting period. Null or left out: no upper bound.
operationId
ID
Only movements booked for this operation of an element (StockMovement.operationId).
orderId
ID
Only movements booked for this order (StockMovement.orderId). Since 0.32.0 an issue records the order of the product, element or operation it names; older issues only the ids they were given.
productId
ID
Only movements booked for this product of an order (StockMovement.productId). Since 0.32.0 an issue records the product of the element or operation it names; older issues only the ids they were given.
purchaseOrderId
ID
Only receipts of deliveries of this purchase order.
supplierId
ID
Only receipts of goods from this supplier (StockMovement.supplierId): receipts booked by hand with this supplier and deliveries of its purchase orders.
Only movements of this type, as StockMovement.type shows it: RECEIPT is a receipt or a purchase-order delivery that raised the stock, RETURN a return to the supplier (older foil movements recorded without rolls count as RETURN too). A correction or a stock-take difference keeps its own type, even when it raised the stock. Ignored when typeIn lists any type.