Address
idcompany_namefirst_namelast_namephonetax_numaddress_line_1address_line_2citystatepincodecountryBundleLine
idproduct_idcomponent_idProduct object.
quantityContact
idcodefirst_namelast_namecompany_namephoneaddress_line_1address_line_2citystatepincodecountrypayment_termsnotesInternal notes for the user's reference.
currencyGrnCRUD
idcreatedupdatednumberis_task_in_progressIs any background task in progress. For example mark as complete task.
action_performedThe action performed on the document which initiated the task.
total_quantityTotal sum of quantities from all associated lines within the document.
extra_charges^-?\d{0,10}(?:\.\d{0… · requiredextra_shipping^-?\d{0,10}(?:\.\d{0… · requiredsubtotal^-?\d{0,10}(?:\.\d{0… · requiredtotal_tax^-?\d{0,10}(?:\.\d{0… · requiredtotal_shipping^-?\d{0,10}(?:\.\d{0… · requiredtotal_amount^-?\d{0,10}(?:\.\d{0… · requiredpurchase_order_idis_stock_transferdelivery_timewarehouse_idIf GRN is created for ST then:
- warehouse_id cannot be same as from_warehouse_id
- warehouse_id cannot be updated once GRN is created
statusCurrent status: DRAFT (editable) → RECEIVED (stock updated) → FINAL (costs applied) or CANCELLED
DRAFT- DRAFTRECEIVED- RECEIVEDFINAL- FINALCANCELLED- CANCELLED
notesreferenceOptional reference number or notes for this GRN.
receive_by_timeUser defines the expected delivery time.
GrnLineCreate
idcreatedquantitygrn_idpoline_idis_stock_transferline_subtotal^-?\d{0,10}(?:\.\d{0… · requiredline_tax^-?\d{0,10}(?:\.\d{0… · requiredline_total^-?\d{0,10}(?:\.\d{0… · requiredGrnLineRUD
idcreatedquantityquantity in multiple of pack_size.
grn_idpoline_idis_stock_transferline_subtotal^-?\d{0,10}(?:\.\d{0… · requiredline_tax^-?\d{0,10}(?:\.\d{0… · requiredline_total^-?\d{0,10}(?:\.\d{0… · requiredPaginatedBundleLineList
countnextpreviousPaginatedContactList
countnextpreviousPaginatedGrnCRUDList
countnextpreviousPaginatedGrnLineCreateList
countnextpreviousPaginatedPoLineList
countnextpreviousPaginatedProductList
countnextpreviousPaginatedPurchaseOrderListList
countnextpreviousPaginatedStockAdjustmentDocumentLineList
countnextpreviousPaginatedStockAdjustmentDocumentList
countnextpreviousPaginatedStockLevelBundleList
countnextpreviousPaginatedStockLevelList
countnextpreviousPoLine
idcreatedproduct_idProduct object.
quantitypurchase_order_idis_stock_transfertax_iddelivered_quantityuompack_sizesupplier_skunotestax_rate^-?\d{0,8}(?:\.\d{0,… · requiredcost^-?\d{0,10}(?:\.\d{0… · requiredshipping_cost^-?\d{0,10}(?:\.\d{0… · requiredmoqline_subtotal^-?\d{0,10}(?:\.\d{0… · requiredline_tax^-?\d{0,10}(?:\.\d{0… · requiredline_total^-?\d{0,10}(?:\.\d{0… · requirederrorReason the line is not ready yet. Null when the line is fine. Blocks all document actions.
PoLineUpdate
idcreatedproduct_idProduct object.
quantityquantity in multiple of pack_size.
purchase_order_idis_stock_transfertax_iddelivered_quantityuompack_sizesupplier_skutax_rate^-?\d{0,8}(?:\.\d{0,… · requiredmoqline_subtotal^-?\d{0,10}(?:\.\d{0… · requiredline_tax^-?\d{0,10}(?:\.\d{0… · requiredline_total^-?\d{0,10}(?:\.\d{0… · requirederrorReason the line is not ready yet. Null when the line is fine. Blocks all document actions.
notescost^-?\d{0,10}(?:\.\d{0…shipping_cost^-?\d{0,10}(?:\.\d{0…Product
idcreatedupdatednameskuvariant_namebarcodecategoriesnotesbundle_typewavg_landed_cost^-?\d{0,10}(?:\.\d{0… · requireduomPurchaseOrderBase
warehouse_ididcreatedupdatedis_task_in_progressIs any background task in progress. For example mark as complete task.
action_performedThe action performed on the document which initiated the task.
total_quantityTotal sum of quantities from all associated lines within the document.
total_shipping^-?\d{0,10}(?:\.\d{0… · requiredtotal_tax^-?\d{0,10}(?:\.\d{0… · requiredtotal_amount^-?\d{0,10}(?:\.\d{0… · requiredsubtotal^-?\d{0,10}(?:\.\d{0… · requiredstatuscurrencyconversion_rate^-?\d{0,10}(?:\.\d{0… · requiredbilling_address_idThis serializer makes all fields read-only. It also sets the user's account timezone for the date time fields.
shipping_address_idThis serializer makes all fields read-only. It also sets the user's account timezone for the date time fields.
contact_idRequired to create a purchase order
from_warehouse_idRequired to create a stock transfer
notesextra_charges^-?\d{0,10}(?:\.\d{0…extra_shipping^-?\d{0,10}(?:\.\d{0…confirmation_dateDate the order was confirmed
ship_by_timeDate by which the supplier is expected to ship the goods
expected_arrival_dateDate the goods are expected to arrive at the warehouse
payment_termsreferenceshipping_carriertracking_numbernumberMust be unique per client and document type. Generated automatically when not provided. The automatic number sequence advances even when a number is provided.
PurchaseOrderList
idcreatedupdatedcontact_idwarehouse_idfrom_warehouse_idnumberstatusconfirmation_dateDate of confirmed purchase order, when the po is marked incoming for the first time.
ship_by_timeDate by which the supplier is expected to ship the goods
expected_arrival_dateDate of expected arrival of goods
notesreferencetotal_amount^-?\d{0,10}(?:\.\d{0… · requiredtotal_quantityTotal sum of quantities from all associated lines within the document.
total_tax^-?\d{0,10}(?:\.\d{0… · requiredtotal_shipping^-?\d{0,10}(?:\.\d{0… · requiredis_task_in_progressIs any background task in progress. For example mark as complete task.
action_performedThe action performed on the document which initiated the task.
currencyconversion_rate^-?\d{0,10}(?:\.\d{0… · requiredPurchaseOrderRUD
contact_idwarehouse_idfrom_warehouse_ididcreatedupdatedis_task_in_progressIs any background task in progress. For example mark as complete task.
action_performedThe action performed on the document which initiated the task.
total_quantityTotal sum of quantities from all associated lines within the document.
total_shipping^-?\d{0,10}(?:\.\d{0… · requiredtotal_tax^-?\d{0,10}(?:\.\d{0… · requiredtotal_amount^-?\d{0,10}(?:\.\d{0… · requiredsubtotal^-?\d{0,10}(?:\.\d{0… · requiredstatuscurrencyconversion_rate^-?\d{0,10}(?:\.\d{0… · requiredbilling_address_idThis serializer makes all fields read-only. It also sets the user's account timezone for the date time fields.
shipping_address_idThis serializer makes all fields read-only. It also sets the user's account timezone for the date time fields.
notesextra_charges^-?\d{0,10}(?:\.\d{0…extra_shipping^-?\d{0,10}(?:\.\d{0…confirmation_dateDate the order was confirmed
ship_by_timeDate by which the supplier is expected to ship the goods
expected_arrival_dateDate the goods are expected to arrive at the warehouse
payment_termsreferenceshipping_carriertracking_numbernumberNot editable once the order is closed or cancelled. Must be unique per client and document type.
StatusEnum
DRAFT- DRAFTRECEIVED- RECEIVEDFINAL- FINALCANCELLED- CANCELLED
StockAdjustmentDocument
idcreatedupdatednumberis_task_in_progressIs any background task in progress. For example mark as complete task.
action_performedThe action performed on the document which initiated the task.
total_quantityTotal sum of quantities from all associated lines within the document.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
reasonwarehouse_idis_completeThe status of the Adjust Stock Document. If false it means the document is still a draft and has no effect on the inventory.
notesStockAdjustmentDocumentLine
idcreatedproduct_idProduct object.
quantityIf the adjustment type of the document is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasondocument_idis_completecost^-?\d{0,10}(?:\.\d{0…StockAdjustmentDocumentLineUpdate
idcreatedproduct_idProduct object.
quantityIf the adjustment type of the document is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasondocument_idis_completecost^-?\d{0,10}(?:\.\d{0…StockAdjustmentDocumentUpdate
idcreatedupdatednumberis_task_in_progressIs any background task in progress. For example mark as complete task.
action_performedThe action performed on the document which initiated the task.
total_quantityTotal sum of quantities from all associated lines within the document.
adjustment_typereasonwarehouse_idis_completeThe status of the Adjust Stock Document. If false it means the document is still a draft and has no effect on the inventory.
notesStockAdjustmentLineCreate
idcreatedproduct_idProduct object.
quantityIf the adjustment type is "ADD" or "SUB" then the quantity should not be 0. A negative quantity is allowed for "ADD", where it decreases the stock. For "SUB" the quantity is subtracted from the stock, so it must be positive. A validation error is raised otherwise.
adjustment_typeCan be either one of: SET, ADD, SUB
SET- SETADD- ADDSUB- SUB
warehouse_idreasoncost^-?\d{0,10}(?:\.\d{0…StockLevel
idupdatedproduct_idProduct object.
warehouse_idin_stockincomingavailablebookedclose_at_quantityStockLevelBundle
idproduct_idProduct object.
warehouse_idin_stockbookedavailableTax
idnametax_rate^-?\d{0,8}(?:\.\d{0,… · requiredWarehouse
idnamecodepriority_Component
idProduct object.
product_idwarehouse_idin_stockbookedavailablecomponent_quantitypossible_bundlesclose_at_quantity