Sklad
Operace ve skupině Sklad.
- GET/v1/boms
- POST/v1/boms
- GET/v1/boms/{id}
- PATCH/v1/boms/{id}
- DEL/v1/boms/{id}
- GET/v1/catalog-categories
- POST/v1/catalog-categories
- PATCH/v1/catalog-categories/{id}
- DEL/v1/catalog-categories/{id}
- GET/v1/catalog-parameters
- POST/v1/catalog-parameters
- PATCH/v1/catalog-parameters/{id}
- DEL/v1/catalog-parameters/{id}
- GET/v1/delivery-notes/uninvoiced
- GET/v1/gpsr-records
- POST/v1/gpsr-records
- GET/v1/gpsr-records/{id}
- PATCH/v1/gpsr-records/{id}
- DEL/v1/gpsr-records/{id}
- GET/v1/gpsr-records/{id}/certificates
- POST/v1/gpsr-records/{id}/certificates
- DEL/v1/gpsr-records/{id}/certificates/{certificateId}
- GET/v1/gpsr-records/{id}/certificates/{certificateId}/file
- GET/v1/gpsr-records/export.xml
- GET/v1/inventory/margin-warnings
- GET/v1/inventory/purchase-planning
- POST/v1/inventory/purchase-planning/orders
- GET/v1/inventory/reports/slow-movers
- GET/v1/inventory/reports/stock-card
- GET/v1/inventory/reports/turnover
- GET/v1/inventory/reports/valuation
- GET/v1/inventory/reports/value
- GET/v1/inventory/settings
- PATCH/v1/inventory/settings
- GET/v1/inventory/year-end
- POST/v1/inventory/year-end
- GET/v1/item-groups
- POST/v1/item-groups
- PATCH/v1/item-groups/{id}
- DEL/v1/item-groups/{id}
- GET/v1/items
- POST/v1/items
- GET/v1/items/{id}
- PATCH/v1/items/{id}
- DEL/v1/items/{id}
- GET/v1/items/{id}/catalog
- PUT/v1/items/{id}/catalog
- GET/v1/items/{id}/images
- POST/v1/items/{id}/images
- GET/v1/items/{id}/images/{imageId}
- DEL/v1/items/{id}/images/{imageId}
- GET/v1/items/{id}/kit
- PUT/v1/items/{id}/kit
- GET/v1/items/{id}/price
- GET/v1/items/{id}/purchase-info
- GET/v1/items/{id}/revaluation
- POST/v1/items/{id}/revaluation
- GET/v1/items/{id}/stock
- GET/v1/items/{id}/units
- PUT/v1/items/{id}/units
- GET/v1/items/{id}/variants
- POST/v1/items/{id}/variants
- GET/v1/items/export
- POST/v1/items/import
- GET/v1/items/labels
- GET/v1/items/lookup
- POST/v1/items/product-data/assign
- GET/v1/movements
- POST/v1/movements
- GET/v1/price-lists
- POST/v1/price-lists
- GET/v1/price-lists/{id}
- PATCH/v1/price-lists/{id}
- DEL/v1/price-lists/{id}
- GET/v1/price-lists/{id}/export
- POST/v1/price-lists/{id}/import
- PUT/v1/price-lists/{id}/items
- DEL/v1/price-lists/{id}/items/{rowId}
- POST/v1/price-lists/{id}/rules
- DEL/v1/price-lists/{id}/rules/{ruleId}
- GET/v1/production-requests
- POST/v1/production-requests
- GET/v1/production-requests/{id}
- PATCH/v1/production-requests/{id}
- POST/v1/production-requests/{id}/cancel
- PUT/v1/production-requests/{id}/components
- POST/v1/production-requests/{id}/produce
- POST/v1/production-requests/{id}/reserve
- POST/v1/production-requests/{id}/unreserve
- POST/v1/production-requests/from-order
- POST/v1/production-requests/many
- POST/v1/production-requests/produce-many
- POST/v1/received-invoices/{id}/landed-cost
- DEL/v1/received-invoices/{id}/landed-cost
- GET/v1/received-invoices/{id}/stock-costs
- GET/v1/recycling-fees
- POST/v1/recycling-fees
- GET/v1/recycling-fees/{id}
- PATCH/v1/recycling-fees/{id}
- DEL/v1/recycling-fees/{id}
- GET/v1/recycling-fees/export.xml
- GET/v1/recycling-fees/report
- GET/v1/stock
- GET/v1/stock-documents
- POST/v1/stock-documents
- GET/v1/stock-documents/{id}
- PATCH/v1/stock-documents/{id}
- DEL/v1/stock-documents/{id}
- GET/v1/stock-documents/{id}/pdf
- POST/v1/stock-documents/{id}/post
- POST/v1/stock-documents/{id}/storno
- GET/v1/stock-locations
- POST/v1/stock-locations/transfer
- GET/v1/stock-lots
- PATCH/v1/stock-lots/{id}
- GET/v1/stock-reservations
- POST/v1/stock-reservations
- POST/v1/stock-reservations/{id}/fulfil
- POST/v1/stock-reservations/{id}/release
- GET/v1/stock/availability
- GET/v1/stock/summary
- GET/v1/stocktakes
- POST/v1/stocktakes
- GET/v1/stocktakes/{id}
- POST/v1/stocktakes/{id}/cancel
- POST/v1/stocktakes/{id}/counts
- POST/v1/stocktakes/{id}/import
- POST/v1/stocktakes/{id}/post
- GET/v1/supplier-prices
- POST/v1/supplier-prices
- PATCH/v1/supplier-prices/{id}
- DEL/v1/supplier-prices/{id}
- GET/v1/warehouse-locations
- POST/v1/warehouse-locations
- PATCH/v1/warehouse-locations/{id}
- DEL/v1/warehouse-locations/{id}
- GET/v1/warehouses
- POST/v1/warehouses
- GET/v1/warehouses/{id}
- PATCH/v1/warehouses/{id}
- DEL/v1/warehouses/{id}
Seznam: kusovník
/v1/bomsList bills of materials
Nástroj MCP: list-boms
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"bom"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnénamestringpovinnéoutputQuantityintegerpovinnéextraCostHalerintegerpovinnéisActivebooleanpovinnénotestring | nullpovinnélinesobject[]povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéunitnull | stringpovinnéquantityintegerpovinnétotalintegerhasMorebooleanpovinnéVytvoření: kusovník
/v1/bomsCreate a bill of materials: what one batch of a finished item consumes. extraCostHaler is labour and overhead per batch, added to the cost of the finished goods.
Nástroj MCP: create-bom
Tělo požadavku
itemIdstringpovinnénamestringpovinnémax 200 charsoutputQuantitynumbermax 1000000000extraCostHalerintegermin 0max 9007199254740991isActivebooleannotestring | nulllinesobject[]povinnéitemIdstringpovinnéquantitynumberpovinnémax 1000000000Odpověď · 201
idstringpovinnéitemIdstringpovinnéitemNamestringpovinnénamestringpovinnéoutputQuantityintegerpovinnéextraCostHalerintegerpovinnéisActivebooleanpovinnénotestring | nullpovinnélinesobject[]povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéunitnull | stringpovinnéquantityintegerpovinnéDetail: kusovník
/v1/boms/{id}Get a bill of materials with its components
Nástroj MCP: get-bom
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnéitemIdstringpovinnéitemNamestringpovinnénamestringpovinnéoutputQuantityintegerpovinnéextraCostHalerintegerpovinnéisActivebooleanpovinnénotestring | nullpovinnélinesobject[]povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéunitnull | stringpovinnéquantityintegerpovinnéÚprava: kusovník
/v1/boms/{id}Update a bill of materials. Production already posted keeps the quantities it used
Nástroj MCP: update-bom
Parametry v cestě
idstringpovinnéTělo požadavku
namestringmax 200 charsoutputQuantitynumbermax 1000000000extraCostHalerintegermin 0max 9007199254740991isActivebooleannotestring | nulllinesobject[]itemIdstringpovinnéquantitynumberpovinnémax 1000000000Odpověď · 200
idstringpovinnéitemIdstringpovinnéitemNamestringpovinnénamestringpovinnéoutputQuantityintegerpovinnéextraCostHalerintegerpovinnéisActivebooleanpovinnénotestring | nullpovinnélinesobject[]povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéunitnull | stringpovinnéquantityintegerpovinnéSmazání: kusovník
/v1/boms/{id}Delete a bill of materials never used in production. A used one can only be deactivated
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-bom
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéThe category tree for e-shops. An empty list for a company with no shop
/v1/catalog-categoriesThe category tree for e-shops. An empty list for a company with no shop
Nástroj MCP: list-catalog-categories
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"catalog_category"povinnéidstringpovinnénumberintegerpovinnéparentIdnull | stringpovinnénamestringpovinnédescriptionstring | nullpovinnépositionintegerpovinnétotalintegerhasMorebooleanpovinnéAdd a category for e-shops, optionally under a parent
/v1/catalog-categoriesAdd a category for e-shops, optionally under a parent
Nástroj MCP: create-catalog-category
Tělo požadavku
namestringpovinnémax 160 charsparentIdstring | nulldescriptionstring | nullpositionintegermin 0max 100000Odpověď · 201
idstringpovinnénumberintegerpovinnéparentIdnull | stringpovinnénamestringpovinnédescriptionstring | nullpovinnépositionintegerpovinnéRename or move a category
/v1/catalog-categories/{id}Rename or move a category
Nástroj MCP: update-catalog-category
Parametry v cestě
idstringpovinnéTělo požadavku
namestringmax 160 charsparentIdstring | nulldescriptionstring | nullpositionintegermin 0max 100000Odpověď · 200
idstringpovinnénumberintegerpovinnéparentIdnull | stringpovinnénamestringpovinnédescriptionstring | nullpovinnépositionintegerpovinnéDelete a category with no subcategories. Items keep their other categories
/v1/catalog-categories/{id}Delete a category with no subcategories. Items keep their other categories
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-catalog-category
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéAttributes an item can have in an e-shop, such as colour or size
/v1/catalog-parametersAttributes an item can have in an e-shop, such as colour or size
Nástroj MCP: list-catalog-parameters
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"catalog_parameter"povinnéidstringpovinnénumberintegerpovinnénamestringpovinnétypestringpovinnéunitnull | stringpovinnéoptionsstring[]povinnétotalintegerhasMorebooleanpovinnéAdd an attribute for e-shops. Types follow POHODA: text, number, date, yes or no, list, unit, currency
/v1/catalog-parametersAdd an attribute for e-shops. Types follow POHODA: text, number, date, yes or no, list, unit, currency
Nástroj MCP: create-catalog-parameter
Tělo požadavku
namestringpovinnémax 120 charstype"text" | "number" | "date" | "boolean" | "list" | "unit" | "currency"unitstring | nulloptionsstring[]Odpověď · 201
idstringpovinnénumberintegerpovinnénamestringpovinnétypestringpovinnéunitnull | stringpovinnéoptionsstring[]povinnéChange an attribute for e-shops
/v1/catalog-parameters/{id}Change an attribute for e-shops
Nástroj MCP: update-catalog-parameter
Parametry v cestě
idstringpovinnéTělo požadavku
namestringmax 120 charstype"text" | "number" | "date" | "boolean" | "list" | "unit" | "currency"unitstring | nulloptionsstring[]Odpověď · 200
idstringpovinnénumberintegerpovinnénamestringpovinnétypestringpovinnéunitnull | stringpovinnéoptionsstring[]povinnéDelete an attribute for e-shops and its values on items
/v1/catalog-parameters/{id}Delete an attribute for e-shops and its values on items
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-catalog-parameter
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéA customer's issued delivery notes with what is not invoiced yet, optionally for given items. Name them on issue-invoice in deliveryNoteIds so the goods do not leave twice
/v1/delivery-notes/uninvoicedA customer's issued delivery notes with what is not invoiced yet, optionally for given items. Name them on issue-invoice in deliveryNoteIds so the goods do not leave twice
Nástroj MCP: list-uninvoiced-delivery-notes
Parametry dotazu
contactIdstringpovinnéitemIdsstringmax 2000 charslimitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"uninvoiced_delivery_note"povinnédeliveryNoteIdnull | stringpovinnénumbernull | stringpovinnédeliveryDatestringpovinnédateitemsobject[]povinnéitemIdnull | stringpovinnénamenull | stringpovinnéunitnull | stringpovinnéquantityintegerpovinnélineIdstringpovinnétotalintegerhasMorebooleanpovinnéList GpsrRecords
/v1/gpsr-recordsList GpsrRecords
Nástroj MCP: list-gpsr-records
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"gpsr_record"povinnéidstringpovinnécodestringpovinnénamestringpovinnémanufacturerNamenull | stringpovinnémanufacturerAddressnull | stringpovinnémanufacturerEmailnull | stringpovinnémanufacturerWebnull | stringpovinnéeuRepresentativeNamenull | stringpovinnéeuRepresentativeAddressnull | stringpovinnéeuRepresentativeEmailnull | stringpovinnésafetyInfonull | stringpovinnéisActivebooleanpovinnénotenull | stringattachmentsobject[]kindstringpovinnénamestringpovinnéurlstringtotalintegerhasMorebooleanpovinnéCreate a GpsrRecord
/v1/gpsr-recordsCreate a GpsrRecord
Nástroj MCP: create-gpsr-record
Tělo požadavku
codestringpovinnémax 32 charsnamestringpovinnémax 200 charsmanufacturerNamestring | nullmanufacturerAddressstring | nullmanufacturerEmailstring | null | ""manufacturerWebstring | nulleuRepresentativeNamestring | nulleuRepresentativeAddressstring | nulleuRepresentativeEmailstring | null | ""safetyInfostring | nullnotestring | nullisActivebooleanOdpověď · 201
idstringpovinnécodestringpovinnénamestringpovinnémanufacturerNamenull | stringpovinnémanufacturerAddressnull | stringpovinnémanufacturerEmailnull | stringpovinnémanufacturerWebnull | stringpovinnéeuRepresentativeNamenull | stringpovinnéeuRepresentativeAddressnull | stringpovinnéeuRepresentativeEmailnull | stringpovinnésafetyInfonull | stringpovinnéisActivebooleanpovinnénotenull | stringattachmentsobject[]kindstringpovinnénamestringpovinnéurlstringGet a GpsrRecord
/v1/gpsr-records/{id}Get a GpsrRecord
Nástroj MCP: get-gpsr-record
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnécodestringpovinnénamestringpovinnémanufacturerNamenull | stringpovinnémanufacturerAddressnull | stringpovinnémanufacturerEmailnull | stringpovinnémanufacturerWebnull | stringpovinnéeuRepresentativeNamenull | stringpovinnéeuRepresentativeAddressnull | stringpovinnéeuRepresentativeEmailnull | stringpovinnésafetyInfonull | stringpovinnéisActivebooleanpovinnénotenull | stringattachmentsobject[]kindstringpovinnénamestringpovinnéurlstringUpdate a GpsrRecord
/v1/gpsr-records/{id}Update a GpsrRecord
Nástroj MCP: update-gpsr-record
Parametry v cestě
idstringpovinnéTělo požadavku
codestringmax 32 charsnamestringmax 200 charsmanufacturerNamestring | nullmanufacturerAddressstring | nullmanufacturerEmailstring | null | ""manufacturerWebstring | nulleuRepresentativeNamestring | nulleuRepresentativeAddressstring | nulleuRepresentativeEmailstring | null | ""safetyInfostring | nullnotestring | nullisActivebooleanOdpověď · 200
idstringpovinnécodestringpovinnénamestringpovinnémanufacturerNamenull | stringpovinnémanufacturerAddressnull | stringpovinnémanufacturerEmailnull | stringpovinnémanufacturerWebnull | stringpovinnéeuRepresentativeNamenull | stringpovinnéeuRepresentativeAddressnull | stringpovinnéeuRepresentativeEmailnull | stringpovinnésafetyInfonull | stringpovinnéisActivebooleanpovinnénotenull | stringattachmentsobject[]kindstringpovinnénamestringpovinnéurlstringDelete a GpsrRecord
/v1/gpsr-records/{id}Delete a GpsrRecord
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-gpsr-record
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéCertificates and declarations kept on a GPSR record
/v1/gpsr-records/{id}/certificatesCertificates and declarations kept on a GPSR record
Nástroj MCP: list-gpsr-certificates
Parametry v cestě
idstringpovinnéParametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"gpsr_certificate"povinnéidstringpovinnégpsrIdstringpovinnénamestringpovinnéissuedOnnull | stringpovinnédatevalidUntilnull | stringpovinnédatenotenull | stringpovinnécontentTypestringpovinnébyteSizeinteger | nullpovinnétotalintegerhasMorebooleanpovinnéKeep a certificate or declaration on a GPSR record: PDF, PNG or JPEG, up to 10 MB. The dates are for your own overview
/v1/gpsr-records/{id}/certificatesKeep a certificate or declaration on a GPSR record: PDF, PNG or JPEG, up to 10 MB. The dates are for your own overview
Nástroj MCP: upload-gpsr-certificate
Parametry v cestě
idstringpovinnéTělo požadavku
namestringpovinnémax 200 charsfileBase64stringpovinnémax 14000000 charscontentType"application/pdf" | "image/png" | "image/jpeg"povinnéissuedOnstring | nullvalidUntilstring | nullnotestring | nullOdpověď · 201
idstringpovinnégpsrIdstringpovinnénamestringpovinnéissuedOnnull | stringpovinnédatevalidUntilnull | stringpovinnédatenotenull | stringpovinnécontentTypestringpovinnébyteSizeinteger | nullpovinnéRemove a certificate from a GPSR record and delete its file
/v1/gpsr-records/{id}/certificates/{certificateId}Remove a certificate from a GPSR record and delete its file
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-gpsr-certificate
Parametry v cestě
idstringpovinnécertificateIdstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéDownload a certificate kept on a GPSR record
/v1/gpsr-records/{id}/certificates/{certificateId}/fileDownload a certificate kept on a GPSR record
Nástroj MCP: get-gpsr-certificate-file
Parametry v cestě
idstringpovinnécertificateIdstringpovinnéOdpověď · 200
Vrací soubor application/pdf.
All GPSR records as a POHODA XML file (GPSR.xsd, version 2.0), with the names of their certificates, to load into POHODA
/v1/gpsr-records/export.xmlAll GPSR records as a POHODA XML file (GPSR.xsd, version 2.0), with the names of their certificates, to load into POHODA
Nástroj MCP: export-gpsr-records-xml
Odpověď · 200
Vrací soubor application/xml.
Items selling below their cost or below the minimum margin set in inventory settings, worst first
/v1/inventory/margin-warningsItems selling below their cost or below the minimum margin set in inventory settings, worst first
Nástroj MCP: list-margin-warnings
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnésalePriceHalerintegerpovinnécostHalerintegerpovinnémarginHalerintegerpovinnémarginPercentintegerpovinnéwarningstringpovinnélastPurchaseOnstringpovinnédatetotalintegerhasMorebooleanpovinnéReorder suggestions from minimum and maximum stock and sales velocity, with supplier, price, and quantity
/v1/inventory/purchase-planningReorder suggestions from minimum and maximum stock and sales velocity, with supplier, price, and quantity. Projected stock = on hand − reserved + on order. Reorder point = minimum + sales during the lead time. Below it, the suggestion goes up to the maximum, or to the reorder point plus the cover period, rounded up to packs and the supplier minimum.
Nástroj MCP: get-purchase-planning
Parametry dotazu
supplierIdstringwarehouseIdstringperiodDaysintegermin 7max 730leadDaysintegermin 0max 365coverDaysintegermin 0max 365datestringYYYY-MM-DDOdpověď · 200
datestringpovinnédateperiodDaysintegerpovinnéleadDaysinteger | nullpovinnécoverDaysintegerpovinnérowsobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnésupplierIdstringpovinnésupplierNamestringpovinnésupplierSkustring | nullpovinnéonHandintegerpovinnéreservedintegerpovinnéonOrderintegerpovinnéminStockintegerpovinnémaxStockinteger | nullpovinnésoldInPeriodintegerpovinnésoldPerDayintegerpovinnéleadDaysinteger | nullpovinnéprojectedintegerpovinnéreorderPointintegerpovinnétargetintegerpovinnéneededintegerpovinnéquantityintegerpovinnéunitPriceHalerinteger | nullpovinnécurrencynull | stringpovinnépriceSourcestringpovinnélineValueHalerintegerpovinnélastPurchasenull | objectpovinnédatestringpovinnédatedocumentNumbernull | stringpovinnésupplierIdanypovinnésupplierNameanypovinnéunitPriceHalerinteger | nullpovinnélandedUnitCostHalerintegerpovinnémarginWarninganypovinnémarginPercentinteger | nullpovinnéTurn reorder lines into one issued order per supplier, in one call
/v1/inventory/purchase-planning/ordersTurn reorder lines into one issued order per supplier, in one call. Prices default to the supplier price list, then the last purchase, then the item. Set issue to false to get drafts. Sending the order to the supplier is a separate step.
Nástroj MCP: create-purchase-orders
Tělo požadavku
linesobject[]povinnéitemIdstringpovinnéquantitynumberpovinnémax 1000000000supplierIdstringunitPriceHalerintegermin 0max 9007199254740991warehouseIdstringdatestringYYYY-MM-DDissuebooleanOdpověď · 201
dataobject[]povinnéobject"sales_document"povinnéidstringpovinnékindstringpovinnénumbernull | stringpovinnéstatusstringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnéissueDatestringpovinnédatedueDatenull | stringpovinnédatevalidUntilnull | stringpovinnédatecurrencystringpovinnétotalHalerintegerpovinnépaidHalerintegerpovinnéoverduebooleanpovinnéreservationStatusstringpovinnéexternalNumbernull | stringpovinnéfileIdnull | stringpovinnécustomFieldsobjectkanalstringseriesIdnull | stringvariableSymbolnull | stringconstantSymbolnull | stringcontactIconull | stringcontactDicnull | stringcontactEmailnull | stringbillToStreetnull | stringbillToCitynull | stringbillToPostalCodenull | stringbillToCountrynull | stringtaxPointDatenull | stringdateexchangeRateintegervatModestringtemplateIdstring | nullcenterIdstring | nullactivityIdstring | nullprojectIdstring | nullpaymentMethodstringlanguagestringnotePublicnull | stringnoteInternalnull | stringreasonnull | stringsourceKindnull | stringsourceIdnull | stringoriginalKindnull | stringoriginalIdnull | stringoriginalNumbernull | stringconsumedByIdstring | nullstornoOfIdnull | stringnetHalerintegervatHalerintegerroundingHalerintegerreceivedHalerinteger | nullregisterIdnull | stringclosureIdstring | nullchangeHalerinteger | nulllinesobject[]object"sales_document_line"povinnéidstringpovinnédescriptionstringpovinnéquantityintegerpovinnéunitstringpovinnéunitPriceHalerintegerpovinnévatRateintegerpovinnénetHalerintegerpovinnévatHalerintegerpovinnétotalHalerintegerpovinnéaccountNumbernull | stringpovinnéitemIdnull | stringpovinnéwarehouseIdnull | stringpovinnéfulfilledQuantitynumberpovinnéinvoicedQuantityintegerpovinnéreservedQuantityintegerpovinnéreturnedQuantityintegerpovinnéoriginalLineIdnull | stringpovinnélotsobject[]povinnélotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéorderLineIdstring | nullpovinnérecyclingnull | objecttextstringpovinnéunitstringpovinnéfeeIdstringpovinnérateHalerintegerpovinnétotalHalerintegerpovinnéweightMilliintegerpovinnéperUnitHalerintegerpovinnécoefficientMilliintegerpovinnépaymentsobject[]object"sales_document_payment"povinnéidstringpovinnéamountHalerintegerpovinnépaidOnstringpovinnédatemethodstringpovinnénotenull | stringpovinnélinksobject[]object"document_link"povinnéidstringpovinnéfromKindstringpovinnéfromIdstringpovinnétoKindstringpovinnétoIdstringpovinnékindstringpovinnéamountHalerinteger | nullcarrierIdnull | stringbankMovementobjectidstringpovinnébankAccountIdstringpovinnéItems in stock with no issue for at least a number of days, largest tied-up value first
/v1/inventory/reports/slow-moversItems in stock with no issue for at least a number of days, largest tied-up value first
Nástroj MCP: get-slow-movers-report
Parametry dotazu
daysintegermin 1max 3650datestringYYYY-MM-DDwarehouseIdstringOdpověď · 200
datestringpovinnédatedaysintegerpovinnétotalValueHalerintegerpovinnérowsobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnéquantityintegerpovinnévalueHalerinteger | nullpovinnélastIssueOnnull | stringpovinnédateidleDaysintegerpovinnéStock card of an item: every movement over a period with running quantity and value
/v1/inventory/reports/stock-cardStock card of an item: every movement over a period with running quantity and value
Nástroj MCP: get-stock-card
Parametry dotazu
itemIdstringpovinnéwarehouseIdstringfromstringYYYY-MM-DDtostringYYYY-MM-DDOdpověď · 200
itemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnévaluationstringpovinnéwarehouseIdstring | nullpovinnéfromstringpovinnédatetostringpovinnédateopeningobjectpovinnéquantityintegerpovinnévalueHalerinteger | nullpovinnéreceivedintegerpovinnéissuedintegerpovinnéclosingobjectpovinnéquantityintegerpovinnévalueHalerinteger | nullpovinnérowsobject[]povinnéidstringpovinnédatestringpovinnédatetypestringpovinnéreasonnull | stringpovinnédocumentIdnull | stringpovinnédocumentTypenull | stringpovinnédocumentNumbernull | stringpovinnécontactNamestring | nullpovinnéwarehouseIdnull | stringpovinnéwarehouseNamestringpovinnéisReversalbooleanpovinnéreceivedintegerpovinnéissuedintegerpovinnémovedanypovinnévalueDeltaHalerintegerpovinnéunitCostHalerinteger | nullpovinnébalanceintegerpovinnébalanceValueHalerintegerpovinnénotestring | nullpovinnéStock turnover per item over a period: receipts, issues at cost, average stock, turnover ratio and days
/v1/inventory/reports/turnoverStock turnover per item over a period: receipts, issues at cost, average stock, turnover ratio and days
Nástroj MCP: get-stock-turnover-report
Parametry dotazu
fromstringpovinnéYYYY-MM-DDtostringpovinnéYYYY-MM-DDwarehouseIdstringOdpověď · 200
fromstringpovinnédatetostringpovinnédatedaysintegerpovinnérowsobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnéopeningValueHalerintegerpovinnéreceivedQuantityintegerpovinnéreceivedValueHalerintegerpovinnéissuedQuantityintegerpovinnéissuedValueHalerintegerpovinnéclosingValueHalerintegerpovinnéaverageValueHalerintegerpovinnérationull | numberpovinnédaysinteger | nullpovinnéInventory value by account on a date, against the ledger balance of 112, 123, and 132, for reconciliation
/v1/inventory/reports/valuationInventory value by account on a date, against the ledger balance of 112, 123, and 132, for reconciliation. Under accounting method B the accounts only move at year end, so differences during the year are expected. Daňová evidence has no ledger to compare with.
Nástroj MCP: get-stock-valuation
Parametry dotazu
datestringYYYY-MM-DDOdpověď · 200
datestringpovinnédatemodestringpovinnétotalStockValueHalerintegerpovinnétotalLedgerValueHalerinteger | nullpovinnétotalDifferenceHalerinteger | nullpovinnérowsobject[]povinnéaccountNumbernull | stringpovinnésyntheticstringpovinnéstockValueHalerintegerpovinnéledgerValueHalerinteger | nullpovinnéitemsobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnéwarehouseIdnull | stringpovinnéwarehouseNamestringpovinnéquantityintegerpovinnévalueHalerinteger | nullpovinnédifferenceHalerinteger | nullpovinnéStock quantity and value per item on a given date, from the movement ledger
/v1/inventory/reports/valueStock quantity and value per item on a given date, from the movement ledger
Nástroj MCP: get-stock-value-report
Parametry dotazu
datestringYYYY-MM-DDwarehouseIdstringOdpověď · 200
datestringpovinnédatetotalValueHalerintegerpovinnérowsobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnétypestringpovinnéquantityintegerpovinnéaverageCostHalerintegerpovinnévalueHalerinteger | nullpovinnéDetail: nastavení, sklad
/v1/inventory/settingsStock accounting method (A or B), negative stock policy, which advanced options are on, and document number series
Nástroj MCP: get-inventory-settings
Odpověď · 200
regimestringpovinnéaccountingMethodstringpovinnéallowNegativeStockbooleanpovinnéfeaturesobjectpovinnépurchasingbooleanpovinnélandedCostsbooleanpovinnévariantsbooleanpovinnéunitsbooleanpovinnékitsbooleanpovinnéimagesbooleanpovinnélocationsbooleanpovinnéregistersbooleanpovinnéminMarginPercentnumberpovinnéplanningobjectpovinnéperiodDaysintegerpovinnéleadDaysinteger | nullpovinnécoverDaysintegerpovinnéseriesobject[]povinnédocumentTypenull | stringpovinnéprefixstringpovinnépadintegerpovinnéÚprava: nastavení, sklad
/v1/inventory/settingsChange the stock accounting method, negative stock policy, advanced options, or number series prefixes. The accounting method can only change while the current year has no stock movements.
Nástroj MCP: update-inventory-settings
Tělo požadavku
accountingMethod"A" | "B"allowNegativeStockbooleanfeaturesobjectpurchasingbooleanlandedCostsbooleanvariantsbooleanunitsbooleankitsbooleanimagesbooleanlocationsbooleanregistersbooleanminMarginPercentnumbermin 0max 100planningobjectperiodDaysintegermin 7max 730leadDaysintegermin 0max 365coverDaysintegermin 0max 365seriesobject[]documentType"receipt" | "issue" | "transfer" | "production" | "stocktake"povinnéprefixstringpovinnépadintegermin 3max 6Odpověď · 200
regimestringpovinnéaccountingMethodstringpovinnéallowNegativeStockbooleanpovinnéfeaturesobjectpovinnépurchasingbooleanpovinnélandedCostsbooleanpovinnévariantsbooleanpovinnéunitsbooleanpovinnékitsbooleanpovinnéimagesbooleanpovinnélocationsbooleanpovinnéregistersbooleanpovinnéminMarginPercentnumberpovinnéplanningobjectpovinnéperiodDaysintegerpovinnéleadDaysinteger | nullpovinnécoverDaysintegerpovinnéseriesobject[]povinnédocumentTypenull | stringpovinnéprefixstringpovinnépadintegerpovinnéOpening and closing stock value of a year, and the entry it needs under accounting method B
/v1/inventory/year-endOpening and closing stock value of a year, and the entry it needs under accounting method B. In daňová evidence this is the year-end inventory value to record; nothing is posted during the year.
Nástroj MCP: get-stock-year-end
Parametry dotazu
yearintegerpovinnémin 2000max 2100Odpověď · 200
yearintegerpovinnécanPostbooleanmodestringopeningValueHalerintegerpovinnéclosingValueHalerintegerpovinnépositionsobject[]categorynull | stringpovinnéanalyticanypovinnéopeningValueHalerintegerpovinnéclosingValueHalerintegerpovinnélinesobject[]debitHalerintegerpovinnécreditHalerintegerpovinnéaccountNumbernull | stringpovinnépostedanyjournalEntryIdnull | stringPost the year-end stock change under accounting method B: opening to expense, closing back to stock
/v1/inventory/year-endPost the year-end stock change under accounting method B: opening to expense, closing back to stock. Refused for method A and outside double-entry. Once posted, repost reverses the old entry and writes a new one.
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: post-stock-year-end
Tělo požadavku
yearintegerpovinnémin 2000max 2100repostbooleanOdpověď · 200
yearintegerpovinnécanPostbooleanmodestringopeningValueHalerintegerpovinnéclosingValueHalerintegerpovinnépositionsobject[]categorynull | stringpovinnéanalyticanypovinnéopeningValueHalerintegerpovinnéclosingValueHalerintegerpovinnélinesobject[]debitHalerintegerpovinnécreditHalerintegerpovinnéaccountNumbernull | stringpovinnépostedanyjournalEntryIdnull | stringSeznam: skupiny, zásoba
/v1/item-groupsList item groups
Nástroj MCP: list-item-groups
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"item_group"povinnéidstringpovinnénamestringpovinnécodestringpovinnétotalintegerhasMorebooleanpovinnéVytvoření: skupina, zásoba
/v1/item-groupsCreate an item group
Nástroj MCP: create-item-group
Tělo požadavku
namestringpovinnémax 200 charscodestringpovinnémax 64 charsOdpověď · 201
idstringpovinnénamestringpovinnécodestringpovinnéÚprava: skupina, zásoba
/v1/item-groups/{id}Rename an item group
Nástroj MCP: update-item-group
Parametry v cestě
idstringpovinnéTělo požadavku
namestringmax 200 charscodestringmax 64 charsOdpověď · 200
idstringpovinnénamestringpovinnécodestringpovinnéSmazání: skupina, zásoba
/v1/item-groups/{id}Delete an empty item group
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-item-group
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéSeznam: zásoby
/v1/itemsList stock items and services with their prices
Nástroj MCP: list-items
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charstype"goods" | "material" | "product" | "service"groupIdstringactive"true" | "false"customFieldKeystringcustomFieldValuestringmax 2000 charsOdpověď · 200
dataobject[]povinnéobject"item"povinnéidstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegertotalintegerhasMorebooleanpovinnéVytvoření: zásoba
/v1/itemsCreate a stock item or service
Nástroj MCP: create-item
Tělo požadavku
skustringpovinnémax 64 charsnamestringpovinnémax 160 charseanstring | nullgroupIdstring | nullunitstringmax 16 charsvatRate0 | 10 | 12 | 15 | 21type"goods" | "material" | "product" | "service"povinnépurchasePriceHalerintegermin 0max 9007199254740991salePriceHalerintegermin 0max 9007199254740991supplierIdstring | nullminStocknumber | nullmaxStocknumber | nullvaluation"fifo" | "weighted_average"tracking"none" | "serial" | "lot"tracksExpirybooleanallowNegativeboolean | nullisActivebooleannotestring | nullweightKgnumber | nullgpsrIdstring | nullrecyclingFeeIdstring | nullrecyclingCoefficientnumber | nullportableBatterybooleanattributesobjectOdpověď · 201
idstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegerDetail: zásoba
/v1/items/{id}Get one item
Nástroj MCP: get-item
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegerÚprava: zásoba
/v1/items/{id}Update an item. Valuation and tracking can only change while it holds no stock
Nástroj MCP: update-item
Parametry v cestě
idstringpovinnéTělo požadavku
skustringmax 64 charsnamestringmax 160 charseanstring | nullgroupIdstring | nullunitstringmax 16 charsvatRate0 | 10 | 12 | 15 | 21type"goods" | "material" | "product" | "service"purchasePriceHalerintegermin 0max 9007199254740991salePriceHalerintegermin 0max 9007199254740991supplierIdstring | nullminStocknumber | nullmaxStocknumber | nullvaluation"fifo" | "weighted_average"tracking"none" | "serial" | "lot"tracksExpirybooleanallowNegativeboolean | nullisActivebooleannotestring | nullweightKgnumber | nullgpsrIdstring | nullrecyclingFeeIdstring | nullrecyclingCoefficientnumber | nullportableBatterybooleanattributesobjectOdpověď · 200
idstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegerSmazání: zásoba
/v1/items/{id}Delete an item that was never used. Used items can only be deactivated
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-item
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéWhat an item shows in e-shops: categories, attributes, descriptions, and the shops it is sold in
/v1/items/{id}/catalogWhat an item shows in e-shops: categories, attributes, descriptions, and the shops it is sold in
Nástroj MCP: get-item-catalog
Parametry v cestě
idstringpovinnéOdpověď · 200
itemIdnull | stringpovinnélistedbooleanpovinnéshortDescriptionnull | stringpovinnédescriptionnull | stringpovinnécategoryIdsstring[]povinnéparametersobjectpovinnéshopIdsstring[]povinnéSet what an item shows in e-shops. Stock goes out only for an item listed in that shop
/v1/items/{id}/catalogSet what an item shows in e-shops. Stock goes out only for an item listed in that shop
Nástroj MCP: put-item-catalog
Parametry v cestě
idstringpovinnéTělo požadavku
listedbooleanshortDescriptionstring | nulldescriptionstring | nullcategoryIdsstring[]parametersobjectshopIdsstring[]Odpověď · 200
itemIdnull | stringpovinnélistedbooleanpovinnéshortDescriptionnull | stringpovinnédescriptionnull | stringpovinnécategoryIdsstring[]povinnéparametersobjectpovinnéshopIdsstring[]povinnéList the images of an item
/v1/items/{id}/imagesList the images of an item
Nástroj MCP: list-item-images
Parametry v cestě
idstringpovinnéParametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"item_image"povinnéidstringpovinnéitemIdstringpovinnépositionintegerpovinnétotalintegerhasMorebooleanpovinnéUpload an image of an item (PNG, JPEG, or WebP, up to 2 MB)
/v1/items/{id}/imagesUpload an image of an item (PNG, JPEG, or WebP, up to 2 MB)
Nástroj MCP: upload-item-image
Parametry v cestě
idstringpovinnéTělo požadavku
fileBase64stringpovinnémax 4000000 charscontentType"image/png" | "image/jpeg" | "image/webp"povinnéOdpověď · 201
idstringpovinnéitemIdstringpovinnépositionintegerpovinnéDownload an image of an item
/v1/items/{id}/images/{imageId}Download an image of an item
Nástroj MCP: get-item-image
Parametry v cestě
idstringpovinnéimageIdstringpovinnéOdpověď · 200
Vrací soubor image/png.
Remove an image from an item
/v1/items/{id}/images/{imageId}Remove an image from an item
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-item-image
Parametry v cestě
idstringpovinnéimageIdstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéComponents of a kit and how many whole sets the free stock makes
/v1/items/{id}/kitComponents of a kit and how many whole sets the free stock makes
Nástroj MCP: get-item-kit
Parametry v cestě
idstringpovinnéOdpověď · 200
itemIdnull | stringpovinnéisKitbooleanpovinnéavailableSetsinteger | nullpovinnécomponentCostHalerintegerpovinnécomponentsarray | nullpovinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringpovinnéquantityintegerpovinnéMake the item a kit sold as a bundle: selling it moves its components. An empty list makes it an ordinary item again
/v1/items/{id}/kitMake the item a kit sold as a bundle: selling it moves its components. An empty list makes it an ordinary item again. A kit has no stock of its own. A sale of a kit moves its components: lots are taken by what expires first, and a serial-tracked component must be named on the document line, as a lot entry with its itemId.
Nástroj MCP: put-item-kit
Parametry v cestě
idstringpovinnéTělo požadavku
componentsobject[]povinnéitemIdstringpovinnéquantitynumberpovinnémax 1000000000Odpověď · 200
itemIdnull | stringpovinnéisKitbooleanpovinnéavailableSetsinteger | nullpovinnécomponentCostHalerintegerpovinnécomponentsarray | nullpovinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringpovinnéquantityintegerpovinnéSale price of an item for a customer, date, and quantity, after price lists and discounts
/v1/items/{id}/priceSale price of an item for a customer, date, and quantity, after price lists and discounts
Nástroj MCP: get-item-price
Parametry v cestě
idstringpovinnéParametry dotazu
contactIdstringdatestringYYYY-MM-DDquantitynumberOdpověď · 200
itemIdnull | stringpovinnévatRateintegerpovinnégrossPriceHalerintegerpovinnépriceHalerintegerpovinnébasePriceHalerintegerpovinnépriceListIdnull | stringpovinnésourcestringpovinnédiscountPercentintegerpovinnéWhat an item costs: last purchase price with and without landed costs, supplier prices, and the margin on its sale price
/v1/items/{id}/purchase-infoWhat an item costs: last purchase price with and without landed costs, supplier prices, and the margin on its sale price
Nástroj MCP: get-item-purchase-info
Parametry v cestě
idstringpovinnéOdpověď · 200
itemIdnull | stringpovinnésalePriceHalerintegerpovinnélastPurchaseobjectpovinnédatestringpovinnédatedocumentNumbernull | stringpovinnésupplierIdnull | stringpovinnésupplierNamenull | stringpovinnéunitPriceHalerinteger | nullpovinnélandedUnitCostHalerintegerpovinnésupplierPricesany[]povinnéminMarginPercentintegerpovinnémarginobjectpovinnécostHalerintegerpovinnémarginHalerinteger | nullpovinnémarginPercentinteger | nullpovinnéwarningnull | stringpovinnéRecompute an item in date order and show how it differs from the posted values, without changing anything
/v1/items/{id}/revaluationRecompute an item in date order and show how it differs from the posted values, without changing anything. Differences appear when documents were backdated. Posted costs stay as they are unless a correction is posted. A corrected component cost is carried into the finished goods made from it: `carried` lists them, and `totalDifferenceHaler` is the whole effect.
Nástroj MCP: preview-item-revaluation
Parametry v cestě
idstringpovinnéOdpověď · 200
itemIdnull | stringpovinnévaluationstringwarehousesobject[]warehouseIdnull | stringpovinnéquantityintegerpovinnécomputedQuantityintegerpovinnévalueHalerinteger | nullpovinnécomputedValueHalerintegerpovinnédifferenceHalerintegerpovinnélayersobject[]povinnéidstringpovinnéseqintegerpovinnéreceivedOnnull | stringpovinnédatelotIdnull | stringpovinnéqtyMilliintegerpovinnévalueHalerinteger | nullpovinnéissuesobject[]idstringpovinnépostedCostHalerintegerpovinnécomputedCostHalerintegerpovinnédifferenceHalerintegerpovinnédifferenceHalerintegercarriedobject[]itemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnédifferenceHalerintegerpovinnéwarehousesobject[]povinnéwarehouseIdnull | stringpovinnéquantityintegerpovinnécomputedQuantityintegerpovinnévalueHalerinteger | nullpovinnécomputedValueHalerintegerpovinnédifferenceHalerintegerpovinnélayersobject[]povinnéidstringpovinnéseqintegerpovinnéreceivedOnnull | stringpovinnédatelotIdstring | nullpovinnéqtyMilliintegerpovinnévalueHalerinteger | nullpovinnétotalDifferenceHalerintegerpostedHalerintegerjournalEntryIdnull | stringPost the recompute difference as a dated correction. Earlier postings are never edited
/v1/items/{id}/revaluationPost the recompute difference as a dated correction. Earlier postings are never edited. Send the differences the preview showed, of the item and of the finished goods it carries into: if history changed since, nothing is posted. Refused in a closed period. Everything posts in one entry, and earlier documents stay as they were.
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: post-item-revaluation
Parametry v cestě
idstringpovinnéTělo požadavku
datestringpovinnéYYYY-MM-DDexpectedDifferenceHalerintegerpovinnémin -9007199254740991max 9007199254740991expectedCarriedobject[]itemIdstringpovinnédifferenceHalerintegerpovinnémin -9007199254740991max 9007199254740991Odpověď · 200
itemIdnull | stringpovinnévaluationstringwarehousesobject[]warehouseIdnull | stringpovinnéquantityintegerpovinnécomputedQuantityintegerpovinnévalueHalerinteger | nullpovinnécomputedValueHalerintegerpovinnédifferenceHalerintegerpovinnélayersobject[]povinnéidstringpovinnéseqintegerpovinnéreceivedOnnull | stringpovinnédatelotIdnull | stringpovinnéqtyMilliintegerpovinnévalueHalerinteger | nullpovinnéissuesobject[]idstringpovinnépostedCostHalerintegerpovinnécomputedCostHalerintegerpovinnédifferenceHalerintegerpovinnédifferenceHalerintegercarriedobject[]itemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnédifferenceHalerintegerpovinnéwarehousesobject[]povinnéwarehouseIdnull | stringpovinnéquantityintegerpovinnécomputedQuantityintegerpovinnévalueHalerinteger | nullpovinnécomputedValueHalerintegerpovinnédifferenceHalerintegerpovinnélayersobject[]povinnéidstringpovinnéseqintegerpovinnéreceivedOnnull | stringpovinnédatelotIdstring | nullpovinnéqtyMilliintegerpovinnévalueHalerinteger | nullpovinnétotalDifferenceHalerintegerpostedHalerintegerjournalEntryIdnull | stringItem card: balance per warehouse, cost layers, lots, reservations, and movement history
/v1/items/{id}/stockItem card: balance per warehouse, cost layers, lots, reservations, and movement history
Nástroj MCP: get-item-stock
Parametry v cestě
idstringpovinnéOdpověď · 200
itemobjectpovinnéobject"item"povinnéidstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegerpositionobjectpovinnéobject"stock_position"povinnéidstringpovinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéeannull | stringpovinnéunitnull | stringpovinnétypestringpovinnévaluationstringpovinnétrackingstringpovinnéonHandnumberpovinnéreservedintegerpovinnéavailablenumberpovinnéaverageCostHalerintegerpovinnévalueHalerinteger | nullpovinnéminStockinteger | nullpovinnémaxStockanypovinnélowStockbooleanpovinnéwarehousesobject[]povinnéwarehouseIdnull | stringpovinnénamenull | stringpovinnéonHandnumberpovinnéreservedintegerpovinnéavailablenumberpovinnévalueHalerinteger | nullpovinnéaverageCostHalerintegerpovinnélayersobject[]povinnéobject"stock_layer"povinnéidstringpovinnéitemIdstringpovinnéwarehouseIdstringpovinnélotIdnull | stringpovinnéreceivedOnstringpovinnédatequantitynumberpovinnévalueHalerintegerpovinnéunitCostHalerinteger | nullpovinnéoriginalQuantityintegerpovinnéoriginalValueHalerintegerpovinnéwarehouseNamestringpovinnélotsobject[]povinnéobject"stock_lot"povinnéidstringpovinnéitemIdstringpovinnékindstringpovinnécodestringpovinnéexpiryDatenull | stringpovinnédatereceivedOnstringpovinnédatenotenull | stringpovinnéonHandintegeritemNamestringitemSkustringunitnull | stringwarehousesobject[]warehouseIdnull | stringpovinnénamenull | stringpovinnéonHandintegerpovinnéreservationsobject[]povinnéobject"stock_reservation"povinnéidstringpovinnéitemIdstringpovinnéwarehouseIdstringpovinnéquantitynumberpovinnéfulfilledintegerpovinnéremainingnumberpovinnéstatusstringpovinnéorderIdnull | stringpovinnéorderLineIdnull | stringpovinnéorderNumbernull | stringpovinnécontactIdnull | stringpovinnéreservedUntilnull | stringpovinnédatenotestring | nullpovinnéitemNamestringitemSkustringunitnull | stringwarehouseNamestringmovementsobject[]povinnéobject"movement"povinnéidstringpovinnéwarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnéitemIdstringpovinnétypestringpovinnéquantitynumberpovinnédeltanumberpovinnévalueDeltaHalerintegerpovinnédatestringpovinnédatedocumentIdnull | stringpovinnéstocktakeIdnull | stringpovinnéinvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnéreversalOfIdnull | stringpovinnéreversedByIdnull | stringpovinnénotenull | stringpovinnéwarehouseNamestringdocumentNumbernull | stringdocumentTypenull | stringbalanceintegerList an item's alternative units with their conversion to the base unit
/v1/items/{id}/unitsList an item's alternative units with their conversion to the base unit
Nástroj MCP: get-item-units
Parametry v cestě
idstringpovinnéOdpověď · 200
itemIdstringpovinnébaseUnitstringpovinnéunitsobject[]povinnéobject"item_unit"povinnéidstringpovinnéitemIdstringpovinnéunitstringpovinnéfactorintegerpovinnéeannull | stringpovinnéReplace an item's alternative units, for example 1 balení = 12 ks, each optionally with its own barcode
/v1/items/{id}/unitsReplace an item's alternative units, for example 1 balení = 12 ks, each optionally with its own barcode. A document line in such a unit moves the converted quantity of the base unit. Stock always stays in the base unit.
Nástroj MCP: put-item-units
Parametry v cestě
idstringpovinnéTělo požadavku
unitsobject[]povinnéunitstringpovinnémax 16 charsfactornumberpovinnémax 1000000000eanstring | nullOdpověď · 200
itemIdstringpovinnébaseUnitstringpovinnéunitsobject[]povinnéobject"item_unit"povinnéidstringpovinnéitemIdstringpovinnéunitstringpovinnéfactorintegerpovinnéeannull | stringpovinnéList the variants of an item with their attributes
/v1/items/{id}/variantsList the variants of an item with their attributes
Nástroj MCP: list-item-variants
Parametry v cestě
idstringpovinnéParametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"item"povinnéidstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegertotalintegerhasMorebooleanpovinnéCreate a variant for every combination of attributes, for example Barva × Velikost. Each variant is an ordinary item with its own stock
/v1/items/{id}/variantsCreate a variant for every combination of attributes, for example Barva × Velikost. Each variant is an ordinary item with its own stock. Variants take the unit, prices, VAT, valuation, and tracking of the parent. A combination that already exists is skipped, so the call can be repeated with a new value.
Nástroj MCP: create-item-variants
Parametry v cestě
idstringpovinnéTělo požadavku
axesobject[]povinnénamestringpovinnémax 40 charsvaluesstring[]povinnéOdpověď · 201
itemIdnull | stringpovinnécreatedintegerpovinnédataobject[]povinnéobject"item"povinnéidstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegerExport: zásoba
/v1/items/exportDownload all items as an XLSX workbook, ready to edit and import again
Nástroj MCP: export-items
Odpověď · 200
Vrací soubor application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
Import: zásoba
/v1/items/importCreate or update items from an XLSX workbook, matched by SKU. Send the file as base64. With dryRun nothing is saved and the answer says what would happen. Rows with an error are skipped and listed.
Nástroj MCP: import-items
Tělo požadavku
fileBase64stringpovinnémax 40000000 charsdryRunbooleanOdpověď · 200
dryRunbooleanpovinnécreatedintegerpovinnéupdatedintegerpovinnéerrorsobject[]povinnélineintegerpovinnémessagenull | stringpovinnéLabels with name, price, EAN bars, and a QR code as PDF: an A4 sheet of 3 × 8, or one 50 × 30 mm label per page for a label printer
/v1/items/labelsLabels with name, price, EAN bars, and a QR code as PDF: an A4 sheet of 3 × 8, or one 50 × 30 mm label per page for a label printer. Pass item ids separated by commas. An item with no valid EAN-13, EAN-8, or UPC-12 prints the QR code and its SKU only.
Nástroj MCP: get-item-labels
Parametry dotazu
idsstringpovinnémax 20000 charscopiesintegermin 1max 500layout"sheet" | "roll"withPrice"true" | "false"withGpsr"true" | "false"Odpověď · 200
Vrací soubor application/pdf.
Vyhledání: zásoba
/v1/items/lookupFind one item by exact SKU or EAN, as a barcode scanner would. A pack barcode also returns the pack unit and its size
Nástroj MCP: lookup-item
Parametry dotazu
codestringpovinnémax 64 charsOdpověď · 200
idstringpovinnéskustringpovinnénamestringpovinnéeannull | stringpovinnégroupIdnull | stringpovinnéunitstringpovinnévatRateintegerpovinnétypestringpovinnétrackingstringpovinnétracksExpirybooleanpovinnévaluationstringpovinnépurchasePriceHalerintegerpovinnésalePriceHalerintegerpovinnésupplierIdnull | stringpovinnéminStocknull | numberpovinnémaxStockinteger | nullpovinnéallowNegativeboolean | nullpovinnéisActivebooleanpovinnénotestring | nullpovinnéweightKgnull | numberpovinnégpsrIdnull | stringpovinnérecyclingFeeIdnull | stringpovinnérecyclingCoefficientnull | numberpovinnécustomFieldsobjectpovinnébarvastringzimnistringprumerintegerzarukastringdatevyrobcestringparentIdnull | stringpovinnéattributesobjectpovinnéBarvastringVelikoststringisKitbooleanpovinnéportableBatterybooleanscannedUnitstringscannedFactorintegerGive many items the same GPSR record or recycling fee at once. Name only what should change; null clears it. Nothing already on a document changes, those lines are frozen
/v1/items/product-data/assignGive many items the same GPSR record or recycling fee at once. Name only what should change; null clears it. Nothing already on a document changes, those lines are frozen
Nástroj MCP: assign-item-product-data
Tělo požadavku
itemIdsstring[]povinnégpsrIdstring | nullrecyclingFeeIdstring | nullrecyclingCoefficientnumber | nullOdpověď · 200
updatedCountintegerpovinnérequestedCountintegerpovinnéSeznam: skladové pohyby
/v1/movementsList stock movements, newest first, with quantity and value changes
Nástroj MCP: list-movements
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991fromstringYYYY-MM-DDtostringYYYY-MM-DDitemIdstringwarehouseIdstringtypestringmax 32 charsOdpověď · 200
dataobject[]povinnéobject"movement"povinnéidstringpovinnéwarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnéitemIdstringpovinnétypestringpovinnéquantitynumberpovinnédeltanumberpovinnévalueDeltaHalerintegerpovinnédatestringpovinnédatedocumentIdnull | stringpovinnéstocktakeIdnull | stringpovinnéinvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnéreversalOfIdnull | stringpovinnéreversedByIdnull | stringpovinnénotenull | stringpovinnéwarehouseNamestringdocumentNumbernull | stringdocumentTypenull | stringbalanceintegertotalintegerhasMorebooleanpovinnéVytvoření: skladový pohyb
/v1/movementsRecord one stock movement without a document. Prefer stock documents, which have numbers, PDFs, and storno. Refuses to oversell unless negative stock is allowed. Items tracked by lot or serial need a document. A stocktake quantity is signed: the difference to apply.
Nástroj MCP: create-movement
Tělo požadavku
warehouseIdstringpovinnétoWarehouseIdstringitemIdstringpovinnétype"receipt" | "issue" | "transfer" | "stocktake"povinnéquantitynumberpovinnéunitPriceHalerintegermin 0max 9007199254740991datestringYYYY-MM-DDdocumentIdstringnotestringmax 2000 charsOdpověď · 201
idstringpovinnéwarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnéitemIdstringpovinnétypestringpovinnéquantitynumberpovinnédeltanumberpovinnévalueDeltaHalerintegerpovinnédatestringpovinnédatedocumentIdnull | stringpovinnéstocktakeIdnull | stringpovinnéinvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnéreversalOfIdnull | stringpovinnéreversedByIdnull | stringpovinnénotenull | stringpovinnéwarehouseNamestringdocumentNumbernull | stringdocumentTypenull | stringbalanceintegerList price lists
/v1/price-listsList price lists
Nástroj MCP: list-price-lists
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"price_list"povinnéidstringpovinnénamestringpovinnécodestringpovinnéisDefaultbooleanpovinnédiscountPercentintegerpovinnévalidFromnull | stringpovinnédatevalidTonull | stringpovinnédatenotestring | nullpovinnéitemsobject[]object"price_list_item"povinnéidstringpovinnépriceListIdstringpovinnéitemIdstringpovinnépriceHalerintegerpovinnéminQuantityintegerpovinnéitemNamestringpovinnéitemSkustringpovinnérulesobject[]object"price_list_rule"povinnéidstringpovinnépriceListIdstringpovinnécontactIdnull | stringpovinnécontactGroupIdstring | nullpovinnédiscountPercentintegerpovinnétotalintegerhasMorebooleanpovinnéCreate a price list with an optional overall discount and validity dates
/v1/price-listsCreate a price list with an optional overall discount and validity dates
Nástroj MCP: create-price-list
Tělo požadavku
namestringpovinnémax 200 charscodestringpovinnémax 64 charsisDefaultbooleandiscountPercentnumbermin 0max 100validFromstring | nullvalidTostring | nullnotestring | nullOdpověď · 201
idstringpovinnénamestringpovinnécodestringpovinnéisDefaultbooleanpovinnédiscountPercentintegerpovinnévalidFromnull | stringpovinnédatevalidTonull | stringpovinnédatenotestring | nullpovinnéitemsobject[]object"price_list_item"povinnéidstringpovinnépriceListIdstringpovinnéitemIdstringpovinnépriceHalerintegerpovinnéminQuantityintegerpovinnéitemNamestringpovinnéitemSkustringpovinnérulesobject[]object"price_list_rule"povinnéidstringpovinnépriceListIdstringpovinnécontactIdnull | stringpovinnécontactGroupIdstring | nullpovinnédiscountPercentintegerpovinnéGet a price list with its prices and contact or group discounts
/v1/price-lists/{id}Get a price list with its prices and contact or group discounts
Nástroj MCP: get-price-list
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnénamestringpovinnécodestringpovinnéisDefaultbooleanpovinnédiscountPercentintegerpovinnévalidFromnull | stringpovinnédatevalidTonull | stringpovinnédatenotestring | nullpovinnéitemsobject[]object"price_list_item"povinnéidstringpovinnépriceListIdstringpovinnéitemIdstringpovinnépriceHalerintegerpovinnéminQuantityintegerpovinnéitemNamestringpovinnéitemSkustringpovinnérulesobject[]object"price_list_rule"povinnéidstringpovinnépriceListIdstringpovinnécontactIdnull | stringpovinnécontactGroupIdstring | nullpovinnédiscountPercentintegerpovinnéUpdate a price list
/v1/price-lists/{id}Update a price list
Nástroj MCP: update-price-list
Parametry v cestě
idstringpovinnéTělo požadavku
namestringmax 200 charscodestringmax 64 charsisDefaultbooleandiscountPercentnumbermin 0max 100validFromstring | nullvalidTostring | nullnotestring | nullOdpověď · 200
idstringpovinnénamestringpovinnécodestringpovinnéisDefaultbooleanpovinnédiscountPercentintegerpovinnévalidFromnull | stringpovinnédatevalidTonull | stringpovinnédatenotestring | nullpovinnéitemsobject[]object"price_list_item"povinnéidstringpovinnépriceListIdstringpovinnéitemIdstringpovinnépriceHalerintegerpovinnéminQuantityintegerpovinnéitemNamestringpovinnéitemSkustringpovinnérulesobject[]object"price_list_rule"povinnéidstringpovinnépriceListIdstringpovinnécontactIdnull | stringpovinnécontactGroupIdstring | nullpovinnédiscountPercentintegerpovinnéDelete a price list with its prices and rules
/v1/price-lists/{id}Delete a price list with its prices and rules
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-price-list
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéDownload a price list as an XLSX workbook
/v1/price-lists/{id}/exportDownload a price list as an XLSX workbook
Nástroj MCP: export-price-list
Parametry v cestě
idstringpovinnéOdpověď · 200
Vrací soubor application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
Set prices on a price list from an XLSX workbook, matched by SKU
/v1/price-lists/{id}/importSet prices on a price list from an XLSX workbook, matched by SKU
Nástroj MCP: import-price-list
Parametry v cestě
idstringpovinnéTělo požadavku
fileBase64stringpovinnémax 40000000 charsdryRunbooleanOdpověď · 200
dryRunbooleanpovinnéimportedintegerpovinnéerrorsobject[]povinnélineintegerpovinnémessagenull | stringpovinnéSet prices on a price list. A row with a minimum quantity is a quantity break
/v1/price-lists/{id}/itemsSet prices on a price list. A row with a minimum quantity is a quantity break
Nástroj MCP: put-price-list-items
Parametry v cestě
idstringpovinnéTělo požadavku
itemsobject[]povinnéitemIdstringpovinnépriceHalerintegerpovinnémin 0max 9007199254740991minQuantitynumbermin 0Odpověď · 200
idstringpovinnénamestringpovinnécodestringpovinnéisDefaultbooleanpovinnédiscountPercentintegerpovinnévalidFromnull | stringpovinnédatevalidTonull | stringpovinnédatenotestring | nullpovinnéitemsobject[]object"price_list_item"povinnéidstringpovinnépriceListIdstringpovinnéitemIdstringpovinnépriceHalerintegerpovinnéminQuantityintegerpovinnéitemNamestringpovinnéitemSkustringpovinnérulesobject[]object"price_list_rule"povinnéidstringpovinnépriceListIdstringpovinnécontactIdnull | stringpovinnécontactGroupIdstring | nullpovinnédiscountPercentintegerpovinnéRemove one price from a price list
/v1/price-lists/{id}/items/{rowId}Remove one price from a price list
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-price-list-item
Parametry v cestě
idstringpovinnérowIdstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéAssign a price list to a contact or contact group, with an optional extra discount
/v1/price-lists/{id}/rulesAssign a price list to a contact or contact group, with an optional extra discount
Nástroj MCP: create-price-list-rule
Parametry v cestě
idstringpovinnéTělo požadavku
contactIdstringcontactGroupIdstringdiscountPercentnumbermin 0max 100Odpověď · 201
idstringpovinnépriceListIdstringpovinnécontactIdnull | stringpovinnécontactGroupIdstring | nullpovinnédiscountPercentintegerpovinnéRemove a contact or group assignment from a price list
/v1/price-lists/{id}/rules/{ruleId}Remove a contact or group assignment from a price list
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-price-list-rule
Parametry v cestě
idstringpovinnéruleIdstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéList production requests: what should be produced, before anything moves in stock
/v1/production-requestsList production requests: what should be produced, before anything moves in stock
Nástroj MCP: list-production-requests
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"production_request"povinnéidstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnétotalintegerhasMorebooleanpovinnéPlan a production from a bill of materials. Moves nothing in stock
/v1/production-requestsPlan a production from a bill of materials. Moves nothing in stock
Nástroj MCP: create-production-request
Tělo požadavku
bomIdstringpovinnéquantitynumberpovinnémax 1000000000warehouseIdstringpovinnétoWarehouseIdstring | nulldatestringYYYY-MM-DDorderIdstring | nullorderLineIdstring | nullnotestring | nullOdpověď · 201
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéGet a production request with the components it needs
/v1/production-requests/{id}Get a production request with the components it needs
Nástroj MCP: get-production-request
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéChange an open production request. A reserved one cannot change its quantity or warehouse. Components of its own follow a new quantity, and lots picked for the old one are cleared
/v1/production-requests/{id}Change an open production request. A reserved one cannot change its quantity or warehouse. Components of its own follow a new quantity, and lots picked for the old one are cleared
Nástroj MCP: update-production-request
Parametry v cestě
idstringpovinnéTělo požadavku
quantitynumbermax 1000000000warehouseIdstringtoWarehouseIdstring | nulldatestringYYYY-MM-DDnotestring | nullOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéCancel an open production request and give back what it reserved
/v1/production-requests/{id}/cancelCancel an open production request and give back what it reserved
Nástroj MCP: cancel-production-request
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéChange what one production request uses: add, remove or change components, in the item unit or a pack, and pick lots or serial numbers. The bill of materials stays as it is
/v1/production-requests/{id}/componentsChange what one production request uses: add, remove or change components, in the item unit or a pack, and pick lots or serial numbers. The bill of materials stays as it is. components: null goes back to the bill of materials. A reserved request has to give its reservation back first, because the reservation holds the old components.
Nástroj MCP: put-production-request-components
Parametry v cestě
idstringpovinnéTělo požadavku
componentsobject[] | nullpovinnéitemIdstringpovinnéquantitynumberpovinnémax 1000000000unitstringmax 16 charslotsobject[]lotIdstringcodestringmax 64 charsquantitynumberpovinnémax 1000000000expiryDatestring | nulloutputLotsobject[]lotIdstringcodestringmax 64 charsquantitynumberpovinnémax 1000000000expiryDatestring | nullOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéSend a request to production: posts the production stock document, taking out components and adding the product
/v1/production-requests/{id}/produceSend a request to production: posts the production stock document, taking out components and adding the product. What it reserved is given back first, because this is the production it was reserved for.
Nástroj MCP: produce-production-request
Parametry v cestě
idstringpovinnéTělo požadavku
datestringYYYY-MM-DDoverrideReservationsbooleanOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéReserve all components of a production request. A request is reserved whole or not at all
/v1/production-requests/{id}/reserveReserve all components of a production request. A request is reserved whole or not at all
Nástroj MCP: reserve-production-request
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéGive back what a production request reserved
/v1/production-requests/{id}/unreserveGive back what a production request reserved
Nástroj MCP: unreserve-production-request
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnéMake one production request for each line of one or several received orders whose item has an active bill of materials, or only for the lines named
/v1/production-requests/from-orderMake one production request for each line of one or several received orders whose item has an active bill of materials, or only for the lines named. Lines already in a request are left out, so it can run again after the order changes. Give orderId, or orderIds for several at once.
Nástroj MCP: create-production-requests-from-order
Tělo požadavku
orderIdstringorderIdsstring[]lineIdsstring[]warehouseIdstringpovinnédatestringYYYY-MM-DDOdpověď · 201
dataobject[]povinnéobject"production_request"povinnéidstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnétotalintegerpovinnéhasMorebooleanpovinnéPlan several products at once, each from its bill of materials. All or none, and nothing moves in stock
/v1/production-requests/manyPlan several products at once, each from its bill of materials. All or none, and nothing moves in stock
Nástroj MCP: create-production-requests
Tělo požadavku
warehouseIdstringpovinnétoWarehouseIdstring | nulldatestringYYYY-MM-DDlinesobject[]povinnébomIdstringpovinnéquantitynumberpovinnémax 1000000000Odpověď · 201
dataobject[]povinnéobject"production_request"povinnéidstringpovinnénumberstringpovinnédatestringpovinnédatebomIdstringpovinnéitemIdstringpovinnéitemNamestringpovinnéquantityintegerpovinnéunitnull | stringpovinnéwarehouseIdstringpovinnétoWarehouseIdstring | nullpovinnéorderIdnull | stringpovinnéorderNumberstring | nullpovinnéreservedbooleanpovinnéstatusstringpovinnéstockDocumentIdnull | stringpovinnénotenull | stringpovinnéoutputTrackingstringoutputLotsobject[]lotIdstring | nullpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnécomponentsChangedbooleancomponentsarray | nullpovinnéitemIdstringpovinnénamenull | stringpovinnéunitnull | stringpovinnétrackingstringquantitynumberpovinnéenteredUnitstring | nullenteredQuantityanylotsobject[]lotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatestring | nullpovinnétotalintegerpovinnéhasMorebooleanpovinnéSend many requests to production at once. Each runs on its own, so one that lacks stock or a lot stops nothing else, and the answer says what happened to each
/v1/production-requests/produce-manySend many requests to production at once. Each runs on its own, so one that lacks stock or a lot stops nothing else, and the answer says what happened to each
Nástroj MCP: produce-production-requests
Tělo požadavku
datestringYYYY-MM-DDoverrideReservationsbooleanidsstring[]povinnéOdpověď · 200
resultsobject[]povinnéidstringokbooleanpovinnéerrornull | stringcodenull | stringnumbernull | stringstockDocumentIdnull | stringdocumentIdnull | stringstatusstringcontactNamenull | stringnamenull | stringtostringamountHalerinteger | nullmovementIdnull | stringrowintegerrecognisedbooleanshipmentIdstringtrackingNumbernull | stringtotalintegerpovinnésucceededintegerpovinnéfailedintegerpovinnéAdd a transport or customs invoice to the cost of receipts: it moves to 131/111, and what the receipts did not expect is added to the goods
/v1/received-invoices/{id}/landed-costAdd a transport or customs invoice to the cost of receipts: it moves to 131/111, and what the receipts did not expect is added to the goods. Legal effect: posts to the books. By default the invoice lines that do not move stock are allocated. Several receipts share the amount by value, each receipt's lines by value or weight. The first invoice answers for the landed cost the receipt stated, so a difference can be negative. Whatever has left stock goes to 504/501.
Nástroj MCP: allocate-landed-cost-invoice
Parametry v cestě
idstringpovinnéTělo požadavku
stockDocumentIdsstring[]povinnélineIdsstring[]method"value" | "weight"Odpověď · 201
receivedInvoiceIdnull | stringpovinnédataobject[]povinnéobject"stock_cost_adjustment"povinnéidstringpovinnékindstringpovinnéstockDocumentIdnull | stringpovinnéstockDocumentNumberstringpovinnéitemIdstringpovinnéstatedHalerintegerpovinnéamountHalerintegerpovinnéstockHalerintegerpovinnésoldHalerintegerpovinnéTake a transport or customs invoice off the receipts it was added to and reverse the postings
/v1/received-invoices/{id}/landed-costTake a transport or customs invoice off the receipts it was added to and reverse the postings
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: remove-landed-cost-invoice
Parametry v cestě
idstringpovinnéOdpověď · 200
receivedInvoiceIdnull | stringpovinnédataobject[]povinnéobject"stock_cost_adjustment"povinnéidstringpovinnékindstringpovinnéstockDocumentIdnull | stringpovinnéstockDocumentNumberstringpovinnéitemIdstringpovinnéstatedHalerintegerpovinnéamountHalerintegerpovinnéstockHalerintegerpovinnésoldHalerintegerpovinnéWhat this received invoice changed on the value of receipts: a price difference against the receipt, or transport allocated to it
/v1/received-invoices/{id}/stock-costsWhat this received invoice changed on the value of receipts: a price difference against the receipt, or transport allocated to it
Nástroj MCP: get-received-invoice-stock-costs
Parametry v cestě
idstringpovinnéOdpověď · 200
receivedInvoiceIdnull | stringpovinnédataobject[]povinnéobject"stock_cost_adjustment"povinnéidstringpovinnékindstringpovinnéstockDocumentIdnull | stringpovinnéstockDocumentNumberstringpovinnéitemIdstringpovinnéstatedHalerintegerpovinnéamountHalerintegerpovinnéstockHalerintegerpovinnésoldHalerintegerpovinnéList RecyclingFees
/v1/recycling-feesList RecyclingFees
Nástroj MCP: list-recycling-fees
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"recycling_fee"povinnéidstringpovinnécodestringpovinnénamestringpovinnérateHalerintegerpovinnéunitstringpovinnédocumentTextnull | stringpovinnéisActivebooleanpovinnétotalintegerhasMorebooleanpovinnéCreate a RecyclingFee
/v1/recycling-feesCreate a RecyclingFee
Nástroj MCP: create-recycling-fee
Tělo požadavku
codestringpovinnémax 32 charsnamestringpovinnémax 200 charsrateHalerintegerpovinnémin 0max 9007199254740991unitstringmax 10 charsdocumentTextstring | nullisActivebooleanOdpověď · 201
idstringpovinnécodestringpovinnénamestringpovinnérateHalerintegerpovinnéunitstringpovinnédocumentTextnull | stringpovinnéisActivebooleanpovinnéGet a RecyclingFee
/v1/recycling-fees/{id}Get a RecyclingFee
Nástroj MCP: get-recycling-fee
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnécodestringpovinnénamestringpovinnérateHalerintegerpovinnéunitstringpovinnédocumentTextnull | stringpovinnéisActivebooleanpovinnéUpdate a RecyclingFee
/v1/recycling-fees/{id}Update a RecyclingFee
Nástroj MCP: update-recycling-fee
Parametry v cestě
idstringpovinnéTělo požadavku
codestringmax 32 charsnamestringmax 200 charsrateHalerintegermin 0max 9007199254740991unitstringmax 10 charsdocumentTextstring | nullisActivebooleanOdpověď · 200
idstringpovinnécodestringpovinnénamestringpovinnérateHalerintegerpovinnéunitstringpovinnédocumentTextnull | stringpovinnéisActivebooleanpovinnéDelete a RecyclingFee
/v1/recycling-fees/{id}Delete a RecyclingFee
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-recycling-fee
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéAll recycling fees as a POHODA XML file (recyclingContrib.xsd, version 2.0), to load into POHODA
/v1/recycling-fees/export.xmlAll recycling fees as a POHODA XML file (recyclingContrib.xsd, version 2.0), to load into POHODA
Nástroj MCP: export-recycling-fees-xml
Odpověď · 200
Vrací soubor application/xml.
Recycling fees charged in a period, per fee: quantity sold, weight, and total in crowns, from issued invoices, credit notes, and receipts
/v1/recycling-fees/reportRecycling fees charged in a period, per fee: quantity sold, weight, and total in crowns, from issued invoices, credit notes, and receipts
Nástroj MCP: get-recycling-report
Parametry dotazu
fromstringpovinnéYYYY-MM-DDtostringpovinnéYYYY-MM-DDdirection"sold" | "purchased"Odpověď · 200
dataobject[]povinnéobject"recycling_report_row"povinnéfeeIdnull | stringpovinnétypedbooleanpovinnécodenull | stringpovinnénamenull | stringpovinnéquantityMilliinteger | nullpovinnéweightMilliintegerpovinnétotalHalerinteger | nullpovinnéunitnull | stringpovinnétotalintegerpovinnéhasMorebooleanpovinnétotalHalerinteger | nullpovinnéList stock positions: on hand, reserved, available, average cost, value, and low-stock flag per item
/v1/stockList stock positions: on hand, reserved, available, average cost, value, and low-stock flag per item
Nástroj MCP: list-stock
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charswarehouseIdstringgroupIdstringlowStock"true" | "false"inStock"true" | "false"Odpověď · 200
dataobject[]povinnéobject"stock_position"povinnéidstringpovinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéeannull | stringpovinnéunitnull | stringpovinnétypestringpovinnévaluationstringpovinnétrackingstringpovinnéonHandnumberpovinnéreservedintegerpovinnéavailablenumberpovinnéaverageCostHalerintegerpovinnévalueHalerinteger | nullpovinnéminStockinteger | nullpovinnémaxStockanypovinnélowStockbooleanpovinnétotalintegerhasMorebooleanpovinnéList stock documents: receipts, issues, transfers, and production
/v1/stock-documentsList stock documents: receipts, issues, transfers, and production
Nástroj MCP: list-stock-documents
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsfromstringYYYY-MM-DDtostringYYYY-MM-DDtype"receipt" | "issue" | "transfer" | "production"status"draft" | "posted" | "storno"warehouseIdstringcustomFieldKeystringcustomFieldValuestringmax 2000 charsOdpověď · 200
dataobject[]povinnéobject"stock_document"povinnéidstringpovinnétypestringpovinnéreasonstringpovinnéstatusstringpovinnénumbernull | stringpovinnédatestringpovinnédatewarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnébomIdnull | stringpovinnéquantityinteger | nullpovinnéextraCostHalerintegerpovinnélandedCostsobject[]povinnélabelnull | stringpovinnémethodnull | stringamountHalerinteger | nullpovinnétotalValueHalerintegerpovinnéinvoiceIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéorderIdnull | stringpovinnéorderNumbernull | stringpovinnésourceTypenull | stringpovinnésourceIdnull | stringpovinnécenterIdstring | nullpovinnéactivityIdstring | nullpovinnéprojectIdstring | nullpovinnéstornoDatenull | stringpovinnédatenotenull | stringpovinnécustomFieldsobjecttistene_polestringlinesobject[]object"stock_document_line"povinnéidstringpovinnérolestringpovinnéitemIdstringpovinnéwarehouseIdnull | stringpovinnéquantitynumberpovinnéunitPriceHalerinteger | nullpovinnévalueHalerinteger | nullpovinnépostedValueHalerinteger | nullpovinnélotsobject[]povinnélotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatenull | stringpovinnédatereservationIdnull | stringpovinnéorderLineIdnull | stringpovinnélandedCostHalerintegerpovinnéenteredUnitnull | stringpovinnéenteredQuantityinteger | nullpovinnélocationIdnull | stringpovinnétoLocationIdnull | stringpovinnénotestring | nullpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnécreditWarningobjectlevelstringpovinnéexposureHalerintegerpovinnéafterHalerintegerpovinnéwarnHaleranypovinnéblockHalerintegerpovinnéavailableHalerintegerpovinnétotalintegerhasMorebooleanpovinnéCreate a stock document as a draft, or post it at once with post: true
/v1/stock-documentsCreate a stock document as a draft, or post it at once with post: true. Production documents take bomId and quantity and fill their lines from the bill of materials.
Nástroj MCP: create-stock-document
Tělo požadavku
type"receipt" | "issue" | "transfer" | "production"povinnélandedCostsobject[]labelstringpovinnémax 120 charsamountHalerintegerpovinnémin 0max 9007199254740991method"value" | "weight"reason"purchase" | "return_customer" | "opening" | "other_receipt" | "sale" | "consumption" | "return_supplier" | "warranty_repair" | "loss" | "transfer" | "production"datestringpovinnéYYYY-MM-DDwarehouseIdstringpovinnétoWarehouseIdstring | nullextraCostHalerintegermin 0max 9007199254740991bomIdstringquantitynumbermax 1000000000linesobject[]itemIdstringpovinnéunitstringmax 16 charslocationIdstring | nulltoLocationIdstring | nullrole"line" | "component" | "output"quantitynumberpovinnémax 1000000000unitPriceHalerintegermin 0max 9007199254740991valueHalerintegermin 0max 9007199254740991lotsobject[]lotIdstringcodestringmax 64 charsquantitynumbermax 1000000000expiryDatestring | nullserialNumbersstring[]reservationIdstringnotestringmax 2000 charspostbooleanoverrideReservationsbooleanoverrideCreditLimitbooleancontactIdstring | nullinvoiceIdstring | nullreceivedInvoiceIdstring | nulldeliveryNoteIdstring | nullorderIdstring | nullorderNumberstring | nullcenterIdstring | nullactivityIdstring | nullprojectIdstring | nullnotestring | nullOdpověď · 201
idstringpovinnétypestringpovinnéreasonstringpovinnéstatusstringpovinnénumbernull | stringpovinnédatestringpovinnédatewarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnébomIdnull | stringpovinnéquantityinteger | nullpovinnéextraCostHalerintegerpovinnélandedCostsobject[]povinnélabelnull | stringpovinnémethodnull | stringamountHalerinteger | nullpovinnétotalValueHalerintegerpovinnéinvoiceIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéorderIdnull | stringpovinnéorderNumbernull | stringpovinnésourceTypenull | stringpovinnésourceIdnull | stringpovinnécenterIdstring | nullpovinnéactivityIdstring | nullpovinnéprojectIdstring | nullpovinnéstornoDatenull | stringpovinnédatenotenull | stringpovinnécustomFieldsobjecttistene_polestringlinesobject[]object"stock_document_line"povinnéidstringpovinnérolestringpovinnéitemIdstringpovinnéwarehouseIdnull | stringpovinnéquantitynumberpovinnéunitPriceHalerinteger | nullpovinnévalueHalerinteger | nullpovinnépostedValueHalerinteger | nullpovinnélotsobject[]povinnélotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatenull | stringpovinnédatereservationIdnull | stringpovinnéorderLineIdnull | stringpovinnélandedCostHalerintegerpovinnéenteredUnitnull | stringpovinnéenteredQuantityinteger | nullpovinnélocationIdnull | stringpovinnétoLocationIdnull | stringpovinnénotestring | nullpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnécreditWarningobjectlevelstringpovinnéexposureHalerintegerpovinnéafterHalerintegerpovinnéwarnHaleranypovinnéblockHalerintegerpovinnéavailableHalerintegerpovinnéGet a stock document with its lines
/v1/stock-documents/{id}Get a stock document with its lines
Nástroj MCP: get-stock-document
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnétypestringpovinnéreasonstringpovinnéstatusstringpovinnénumbernull | stringpovinnédatestringpovinnédatewarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnébomIdnull | stringpovinnéquantityinteger | nullpovinnéextraCostHalerintegerpovinnélandedCostsobject[]povinnélabelnull | stringpovinnémethodnull | stringamountHalerinteger | nullpovinnétotalValueHalerintegerpovinnéinvoiceIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéorderIdnull | stringpovinnéorderNumbernull | stringpovinnésourceTypenull | stringpovinnésourceIdnull | stringpovinnécenterIdstring | nullpovinnéactivityIdstring | nullpovinnéprojectIdstring | nullpovinnéstornoDatenull | stringpovinnédatenotenull | stringpovinnécustomFieldsobjecttistene_polestringlinesobject[]object"stock_document_line"povinnéidstringpovinnérolestringpovinnéitemIdstringpovinnéwarehouseIdnull | stringpovinnéquantitynumberpovinnéunitPriceHalerinteger | nullpovinnévalueHalerinteger | nullpovinnépostedValueHalerinteger | nullpovinnélotsobject[]povinnélotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatenull | stringpovinnédatereservationIdnull | stringpovinnéorderLineIdnull | stringpovinnélandedCostHalerintegerpovinnéenteredUnitnull | stringpovinnéenteredQuantityinteger | nullpovinnélocationIdnull | stringpovinnétoLocationIdnull | stringpovinnénotestring | nullpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnécreditWarningobjectlevelstringpovinnéexposureHalerintegerpovinnéafterHalerintegerpovinnéwarnHaleranypovinnéblockHalerintegerpovinnéavailableHalerintegerpovinnéEdit a draft stock document
/v1/stock-documents/{id}Edit a draft stock document
Nástroj MCP: update-stock-document
Parametry v cestě
idstringpovinnéTělo požadavku
landedCostsobject[]labelstringpovinnémax 120 charsamountHalerintegerpovinnémin 0max 9007199254740991method"value" | "weight"reason"purchase" | "return_customer" | "opening" | "other_receipt" | "sale" | "consumption" | "return_supplier" | "warranty_repair" | "loss" | "transfer" | "production"datestringYYYY-MM-DDwarehouseIdstringtoWarehouseIdstring | nullextraCostHalerintegermin 0max 9007199254740991bomIdstringquantitynumbermax 1000000000linesobject[]itemIdstringpovinnéunitstringmax 16 charslocationIdstring | nulltoLocationIdstring | nullrole"line" | "component" | "output"quantitynumberpovinnémax 1000000000unitPriceHalerintegermin 0max 9007199254740991valueHalerintegermin 0max 9007199254740991lotsobject[]lotIdstringcodestringmax 64 charsquantitynumbermax 1000000000expiryDatestring | nullserialNumbersstring[]reservationIdstringnotestringmax 2000 charsoverrideCreditLimitbooleancontactIdstring | nullinvoiceIdstring | nullreceivedInvoiceIdstring | nulldeliveryNoteIdstring | nullorderIdstring | nullorderNumberstring | nullcenterIdstring | nullactivityIdstring | nullprojectIdstring | nullnotestring | nullOdpověď · 200
idstringpovinnétypestringpovinnéreasonstringpovinnéstatusstringpovinnénumbernull | stringpovinnédatestringpovinnédatewarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnébomIdnull | stringpovinnéquantityinteger | nullpovinnéextraCostHalerintegerpovinnélandedCostsobject[]povinnélabelnull | stringpovinnémethodnull | stringamountHalerinteger | nullpovinnétotalValueHalerintegerpovinnéinvoiceIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéorderIdnull | stringpovinnéorderNumbernull | stringpovinnésourceTypenull | stringpovinnésourceIdnull | stringpovinnécenterIdstring | nullpovinnéactivityIdstring | nullpovinnéprojectIdstring | nullpovinnéstornoDatenull | stringpovinnédatenotenull | stringpovinnécustomFieldsobjecttistene_polestringlinesobject[]object"stock_document_line"povinnéidstringpovinnérolestringpovinnéitemIdstringpovinnéwarehouseIdnull | stringpovinnéquantitynumberpovinnéunitPriceHalerinteger | nullpovinnévalueHalerinteger | nullpovinnépostedValueHalerinteger | nullpovinnélotsobject[]povinnélotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatenull | stringpovinnédatereservationIdnull | stringpovinnéorderLineIdnull | stringpovinnélandedCostHalerintegerpovinnéenteredUnitnull | stringpovinnéenteredQuantityinteger | nullpovinnélocationIdnull | stringpovinnétoLocationIdnull | stringpovinnénotestring | nullpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnécreditWarningobjectlevelstringpovinnéexposureHalerintegerpovinnéafterHalerintegerpovinnéwarnHaleranypovinnéblockHalerintegerpovinnéavailableHalerintegerpovinnéDelete a draft stock document
/v1/stock-documents/{id}Delete a draft stock document
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-stock-document
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéDownload a stock document as PDF, in Czech, English, German or French
/v1/stock-documents/{id}/pdfDownload a stock document as PDF, in Czech, English, German or French
Nástroj MCP: get-stock-document-pdf
Parametry v cestě
idstringpovinnéParametry dotazu
language"cs" | "en" | "de" | "fr"Odpověď · 200
Vrací soubor application/pdf.
Post a draft: assign a number, move stock, and write the accounting entry
/v1/stock-documents/{id}/postPost a draft: assign a number, move stock, and write the accounting entry. Refuses to oversell unless negative stock is allowed. Set overrideReservations to issue stock reserved for other orders. A sale to a contact over Kredit max is refused with credit_limit_exceeded; an owner or accountant may set overrideCreditLimit.
Nástroj MCP: post-stock-document
Parametry v cestě
idstringpovinnéTělo požadavku
overrideReservationsbooleanoverrideCreditLimitbooleanOdpověď · 200
idstringpovinnétypestringpovinnéreasonstringpovinnéstatusstringpovinnénumbernull | stringpovinnédatestringpovinnédatewarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnébomIdnull | stringpovinnéquantityinteger | nullpovinnéextraCostHalerintegerpovinnélandedCostsobject[]povinnélabelnull | stringpovinnémethodnull | stringamountHalerinteger | nullpovinnétotalValueHalerintegerpovinnéinvoiceIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéorderIdnull | stringpovinnéorderNumbernull | stringpovinnésourceTypenull | stringpovinnésourceIdnull | stringpovinnécenterIdstring | nullpovinnéactivityIdstring | nullpovinnéprojectIdstring | nullpovinnéstornoDatenull | stringpovinnédatenotenull | stringpovinnécustomFieldsobjecttistene_polestringlinesobject[]object"stock_document_line"povinnéidstringpovinnérolestringpovinnéitemIdstringpovinnéwarehouseIdnull | stringpovinnéquantitynumberpovinnéunitPriceHalerinteger | nullpovinnévalueHalerinteger | nullpovinnépostedValueHalerinteger | nullpovinnélotsobject[]povinnélotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatenull | stringpovinnédatereservationIdnull | stringpovinnéorderLineIdnull | stringpovinnélandedCostHalerintegerpovinnéenteredUnitnull | stringpovinnéenteredQuantityinteger | nullpovinnélocationIdnull | stringpovinnétoLocationIdnull | stringpovinnénotestring | nullpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnécreditWarningobjectlevelstringpovinnéexposureHalerintegerpovinnéafterHalerintegerpovinnéwarnHaleranypovinnéblockHalerintegerpovinnéavailableHalerintegerpovinnéReverse a posted stock document with opposite movements and journal entries
/v1/stock-documents/{id}/stornoReverse a posted stock document with opposite movements and journal entries. Refused when received stock was already issued, or when the document came from an invoice or delivery note: storno that document instead.
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: storno-stock-document
Parametry v cestě
idstringpovinnéTělo požadavku
datestringYYYY-MM-DDnotestringmax 2000 charsOdpověď · 200
idstringpovinnétypestringpovinnéreasonstringpovinnéstatusstringpovinnénumbernull | stringpovinnédatestringpovinnédatewarehouseIdstringpovinnétoWarehouseIdnull | stringpovinnécontactIdnull | stringpovinnécontactNamenull | stringpovinnébomIdnull | stringpovinnéquantityinteger | nullpovinnéextraCostHalerintegerpovinnélandedCostsobject[]povinnélabelnull | stringpovinnémethodnull | stringamountHalerinteger | nullpovinnétotalValueHalerintegerpovinnéinvoiceIdnull | stringpovinnéreceivedInvoiceIdnull | stringpovinnédeliveryNoteIdnull | stringpovinnéorderIdnull | stringpovinnéorderNumbernull | stringpovinnésourceTypenull | stringpovinnésourceIdnull | stringpovinnécenterIdstring | nullpovinnéactivityIdstring | nullpovinnéprojectIdstring | nullpovinnéstornoDatenull | stringpovinnédatenotenull | stringpovinnécustomFieldsobjecttistene_polestringlinesobject[]object"stock_document_line"povinnéidstringpovinnérolestringpovinnéitemIdstringpovinnéwarehouseIdnull | stringpovinnéquantitynumberpovinnéunitPriceHalerinteger | nullpovinnévalueHalerinteger | nullpovinnépostedValueHalerinteger | nullpovinnélotsobject[]povinnélotIdnull | stringpovinnécodenull | stringpovinnéquantityintegerpovinnéexpiryDatenull | stringpovinnédatereservationIdnull | stringpovinnéorderLineIdnull | stringpovinnélandedCostHalerintegerpovinnéenteredUnitnull | stringpovinnéenteredQuantityinteger | nullpovinnélocationIdnull | stringpovinnétoLocationIdnull | stringpovinnénotestring | nullpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnécreditWarningobjectlevelstringpovinnéexposureHalerintegerpovinnéafterHalerintegerpovinnéwarnHaleranypovinnéblockHalerintegerpovinnéavailableHalerintegerpovinnéWhat sits on which location, per item and lot. Stock on no location is listed as unplaced when an item is given
/v1/stock-locationsWhat sits on which location, per item and lot. Stock on no location is listed as unplaced when an item is given
Nástroj MCP: list-stock-location-balances
Parametry dotazu
warehouseIdstringitemIdstringlocationIdstringlimitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéitemIdnull | stringpovinnéskustringpovinnénamenull | stringpovinnéunitnull | stringpovinnélocationIdnull | stringpovinnélocationCodestringpovinnéwarehouseIdnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnéquantityintegerpovinnétotalintegerhasMorebooleanpovinnéMove goods between locations of one warehouse. Quantity only: no value change and no accounting entry
/v1/stock-locations/transferMove goods between locations of one warehouse. Quantity only: no value change and no accounting entry. Leave fromLocationId empty to shelve unplaced stock, toLocationId empty to take it off a location. A lot- or serial-tracked item names lotId or lotCode.
Nástroj MCP: transfer-stock-location
Tělo požadavku
itemIdstringpovinnéwarehouseIdstringpovinnéfromLocationIdstring | nulltoLocationIdstring | nulllotIdstring | nulllotCodestring | nullquantitynumberpovinnémax 1000000000datestringYYYY-MM-DDnotestringmax 2000 charsOdpověď · 200
movementIdnull | stringpovinnéitemIdnull | stringpovinnéquantityintegerpovinnéfromLocationIdnull | stringpovinnétoLocationIdnull | stringpovinnélotIdnull | stringpovinnéList lots and serial numbers with expiry and quantity in stock
/v1/stock-lotsList lots and serial numbers with expiry and quantity in stock
Nástroj MCP: list-stock-lots
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsitemIdstringexpiringBeforestringYYYY-MM-DDinStock"true" | "false"Odpověď · 200
dataobject[]povinnéobject"stock_lot"povinnéidstringpovinnéitemIdstringpovinnékindstringpovinnécodestringpovinnéexpiryDatenull | stringpovinnédatereceivedOnstringpovinnédatenotenull | stringpovinnéonHandintegeritemNamestringitemSkustringunitnull | stringwarehousesobject[]warehouseIdnull | stringpovinnénamenull | stringpovinnéonHandintegerpovinnétotalintegerhasMorebooleanpovinnéCorrect the expiry date or note of a lot
/v1/stock-lots/{id}Correct the expiry date or note of a lot
Nástroj MCP: update-stock-lot
Parametry v cestě
idstringpovinnéTělo požadavku
expiryDatestring | nullnotestring | nullOdpověď · 200
idstringpovinnéitemIdstringpovinnékindstringpovinnécodestringpovinnéexpiryDatenull | stringpovinnédatereceivedOnstringpovinnédatenotenull | stringpovinnéonHandintegeritemNamestringitemSkustringunitnull | stringwarehousesobject[]warehouseIdnull | stringpovinnénamenull | stringpovinnéonHandintegerpovinnéList stock reservations for received orders
/v1/stock-reservationsList stock reservations for received orders
Nástroj MCP: list-stock-reservations
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsitemIdstringstatus"active" | "fulfilled" | "released"orderIdstringmax 64 charsOdpověď · 200
dataobject[]povinnéobject"stock_reservation"povinnéidstringpovinnéitemIdstringpovinnéwarehouseIdstringpovinnéquantitynumberpovinnéfulfilledintegerpovinnéremainingnumberpovinnéstatusstringpovinnéorderIdnull | stringpovinnéorderLineIdnull | stringpovinnéorderNumbernull | stringpovinnécontactIdnull | stringpovinnéreservedUntilnull | stringpovinnédatenotestring | nullpovinnéitemNamestringitemSkustringunitnull | stringwarehouseNamestringtotalintegerhasMorebooleanpovinnéReserve stock for a received order
/v1/stock-reservationsReserve stock for a received order. Refused when less is available than requested, unless allowShort is set. Set orderLineId to make repeated calls for one order line idempotent.
Nástroj MCP: create-stock-reservation
Tělo požadavku
itemIdstringpovinnéwarehouseIdstringpovinnéquantitynumberpovinnémax 1000000000orderIdstring | nullorderLineIdstring | nullorderNumberstring | nullcontactIdstring | nullreservedUntilstring | nullnotestring | nullallowShortbooleanOdpověď · 201
idstringpovinnéitemIdstringpovinnéwarehouseIdstringpovinnéquantitynumberpovinnéfulfilledintegerpovinnéremainingnumberpovinnéstatusstringpovinnéorderIdnull | stringpovinnéorderLineIdnull | stringpovinnéorderNumbernull | stringpovinnécontactIdnull | stringpovinnéreservedUntilnull | stringpovinnédatenotestring | nullpovinnéitemNamestringitemSkustringunitnull | stringwarehouseNamestringMark a reservation as fulfilled when the goods left on a document without a link to it
/v1/stock-reservations/{id}/fulfilMark a reservation as fulfilled when the goods left on a document without a link to it. Does not move stock. An issue document that names the reservation fulfils it by itself.
Nástroj MCP: fulfil-stock-reservation
Parametry v cestě
idstringpovinnéTělo požadavku
quantitynumbermax 1000000000Odpověď · 200
idstringpovinnéitemIdstringpovinnéwarehouseIdstringpovinnéquantitynumberpovinnéfulfilledintegerpovinnéremainingnumberpovinnéstatusstringpovinnéorderIdnull | stringpovinnéorderLineIdnull | stringpovinnéorderNumbernull | stringpovinnécontactIdnull | stringpovinnéreservedUntilnull | stringpovinnédatenotestring | nullpovinnéitemNamestringitemSkustringunitnull | stringwarehouseNamestringRelease a reservation, returning its remaining quantity to available stock
/v1/stock-reservations/{id}/releaseRelease a reservation, returning its remaining quantity to available stock
Nástroj MCP: release-stock-reservation
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnéitemIdstringpovinnéwarehouseIdstringpovinnéquantitynumberpovinnéfulfilledintegerpovinnéremainingnumberpovinnéstatusstringpovinnéorderIdnull | stringpovinnéorderLineIdnull | stringpovinnéorderNumbernull | stringpovinnécontactIdnull | stringpovinnéreservedUntilnull | stringpovinnédatenotestring | nullpovinnéitemNamestringitemSkustringunitnull | stringwarehouseNamestringCheck whether a quantity of an item is available, in total or in one warehouse
/v1/stock/availabilityCheck whether a quantity of an item is available, in total or in one warehouse. Available is on hand minus active reservations. `sufficient` compares it with the requested quantity.
Nástroj MCP: get-stock-availability
Parametry dotazu
itemIdstringpovinnéwarehouseIdstringquantitynumberOdpověď · 200
itemIdnull | stringpovinnéonHandintegerpovinnéreservedintegerpovinnéavailableintegerpovinnérequestedinteger | nullpovinnésufficientboolean | nullpovinnéshortinteger | nullpovinnéwarehousesobject[]povinnéwarehouseIdnull | stringpovinnénamenull | stringpovinnéonHandintegerpovinnéreservedintegerpovinnéavailableintegerpovinnéTotal stock value and how many items are below their minimum
/v1/stock/summaryTotal stock value and how many items are below their minimum
Nástroj MCP: get-stock-summary
Odpověď · 200
valueHalerinteger | nullpovinnéitemCountintegerpovinnélowStockCountintegerpovinnéSeznam: inventura
/v1/stocktakesList stocktakes
Nástroj MCP: list-stocktakes
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"stocktake"povinnéidstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnétotalintegerhasMorebooleanpovinnéVytvoření: inventura
/v1/stocktakesStart a stocktake: freezes the quantities of a warehouse, or of one item group in it, in total or shelf by shelf. While it runs, movements in the warehouse are refused unless blockMovements is false. One stocktake per warehouse at a time. byLocation freezes one line per item, lot, and shelf, plus what is on no shelf; locationId counts one shelf only. Goods found on another shelf of the warehouse become a shelf move, not a shortage and a surplus.
Nástroj MCP: create-stocktake
Tělo požadavku
warehouseIdstringpovinnédatestringpovinnéYYYY-MM-DDgroupIdstring | nullbyLocationbooleanlocationIdstring | nullblockMovementsbooleannotestring | nullOdpověď · 201
idstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnéDetail: inventura
/v1/stocktakes/{id}Get a stocktake with its frozen quantities, counts, and differences
Nástroj MCP: get-stocktake
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnéZrušení: inventura
/v1/stocktakes/{id}/cancelCancel a running stocktake and unblock the warehouse. Nothing is posted
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: cancel-stocktake
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnéRecord counted quantities. An item not on the list is added at frozen zero
/v1/stocktakes/{id}/countsRecord counted quantities. An item not on the list is added at frozen zero
Nástroj MCP: record-stocktake-counts
Parametry v cestě
idstringpovinnéTělo požadavku
countsobject[]povinnélineIdstringitemIdstringlotCodestringmax 64 charslocationIdstring | nullquantitynumber | nullpovinnéunitCostHalerintegermin 0max 9007199254740991withinNormbooleannotestring | nullOdpověď · 200
idstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnéRecord counts from CSV with a code column (SKU or EAN), a quantity column, and optionally lot and shelf columns
/v1/stocktakes/{id}/importRecord counts from CSV with a code column (SKU or EAN), a quantity column, and optionally lot and shelf columns. Semicolon and comma separated files both work, with a decimal comma or point. Rows with an error are skipped and returned.
Nástroj MCP: import-stocktake-counts
Parametry v cestě
idstringpovinnéTělo požadavku
csvstringpovinnémax 5000000 charsOdpověď · 200
importedintegerpovinnéerrorsobject[]povinnélineintegerpovinnémessagenull | stringpovinnéstocktakeobjectpovinnéobject"stocktake"povinnéidstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnéZaúčtování: inventura
/v1/stocktakes/{id}/postPost the differences: shortages and surpluses become stock movements and accounting entries. Refused while a line is uncounted, unless treatUncountedAsFrozen confirms those lines agree. Cannot be undone; a later stocktake corrects it.
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: post-stocktake
Parametry v cestě
idstringpovinnéTělo požadavku
datestringYYYY-MM-DDtreatUncountedAsFrozenbooleanOdpověď · 200
idstringpovinnéwarehouseIdstringpovinnénumbernull | stringpovinnéstatusstringpovinnédatestringpovinnédatepostedDatenull | stringpovinnédateblockMovementsbooleanpovinnégroupIdstring | nullpovinnébyLocationbooleanpovinnélocationIdnull | stringpovinnéshortageValueHalerintegerpovinnésurplusValueHalerintegerpovinnénotestring | nullpovinnélineCountintegerpovinnécountedCountintegerpovinnédifferenceCountintegerpovinnélinesobject[]object"stocktake_line"povinnéidstringpovinnéitemIdstringpovinnéitemNamestringpovinnéitemSkustringpovinnéunitnull | stringpovinnélotIdnull | stringpovinnélotCodenull | stringpovinnélocationIdnull | stringpovinnélocationCodenull | stringpovinnéfrozenintegerpovinnéfrozenValueHalerintegerpovinnécountednull | numberpovinnédifferencenull | numberpovinnéunitCostHalerinteger | nullpovinnéwithinNormbooleanpovinnépostedValueHalerinteger | nullpovinnénotestring | nullpovinnéList supplier price list rows, by item or supplier
/v1/supplier-pricesList supplier price list rows, by item or supplier
Nástroj MCP: list-supplier-prices
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsfromstringYYYY-MM-DDtostringYYYY-MM-DDitemIdstringsupplierIdstringOdpověď · 200
dataany[]povinnétotalintegerhasMorebooleanpovinnéAdd a row to a supplier's price list: price per the item's own unit, minimum order, pack size, lead time
/v1/supplier-pricesAdd a row to a supplier's price list: price per the item's own unit, minimum order, pack size, lead time
Nástroj MCP: create-supplier-price
Tělo požadavku
supplierIdstringpovinnéitemIdstringpovinnésupplierSkustring | nullpriceHalerintegerpovinnémin 0max 9007199254740991currencystring3 charsminQuantitynumbermin 0packQuantitynumber | nullleadDaysinteger | nullvalidFromstring | nullvalidTostring | nullOdpověď · 201
idstringpovinnésupplierIdstringpovinnéitemIdstringpovinnésupplierSkustring | nullpovinnépriceHalerintegerpovinnécurrencystringpovinnéminQuantityintegerpovinnépackQuantityintegerpovinnéleadDaysinteger | nullpovinnévalidFromstring | nullpovinnévalidTostring | nullpovinnéChange a supplier price list row
/v1/supplier-prices/{id}Change a supplier price list row
Nástroj MCP: update-supplier-price
Parametry v cestě
idstringpovinnéTělo požadavku
supplierSkustring | nullpriceHalerintegermin 0max 9007199254740991currencystring3 charsminQuantitynumbermin 0packQuantitynumber | nullleadDaysinteger | nullvalidFromstring | nullvalidTostring | nullOdpověď · 200
idstringpovinnésupplierIdstringpovinnéitemIdstringpovinnésupplierSkustring | nullpovinnépriceHalerintegerpovinnécurrencystringpovinnéminQuantityintegerpovinnépackQuantityintegerpovinnéleadDaysinteger | nullpovinnévalidFromstring | nullpovinnévalidTostring | nullpovinnéDelete a supplier price list row
/v1/supplier-prices/{id}Delete a supplier price list row
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-supplier-price
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéList warehouse locations (regály)
/v1/warehouse-locationsList warehouse locations (regály)
Nástroj MCP: list-warehouse-locations
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsfromstringYYYY-MM-DDtostringYYYY-MM-DDwarehouseIdstringOdpověď · 200
dataany[]povinnétotalintegerhasMorebooleanpovinnéAdd a location (regál) to a warehouse
/v1/warehouse-locationsAdd a location (regál) to a warehouse
Nástroj MCP: create-warehouse-location
Tělo požadavku
warehouseIdstringpovinnécodestringpovinnémax 32 charsnamestring | nullisActivebooleanOdpověď · 201
idstringpovinnéwarehouseIdstringpovinnécodestringpovinnénamenull | stringpovinnéisActivebooleanpovinnéRename or deactivate a warehouse location
/v1/warehouse-locations/{id}Rename or deactivate a warehouse location
Nástroj MCP: update-warehouse-location
Parametry v cestě
idstringpovinnéTělo požadavku
codestringmax 32 charsnamestring | nullisActivebooleanOdpověď · 200
idstringpovinnéwarehouseIdstringpovinnécodestringpovinnénamenull | stringpovinnéisActivebooleanpovinnéDelete an empty warehouse location that was never used. Used ones can be deactivated
/v1/warehouse-locations/{id}Delete an empty warehouse location that was never used. Used ones can be deactivated
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-warehouse-location
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinnéSeznam: sklady
/v1/warehousesList warehouses
Nástroj MCP: list-warehouses
Parametry dotazu
limitintegermin 1max 500offsetintegermin 0max 9007199254740991searchstringmax 200 charsOdpověď · 200
dataobject[]povinnéobject"warehouse"povinnéidstringpovinnénamestringpovinnécodestringpovinnéanalyticSuffixnull | stringpovinnéaddressstring | nullpovinnénotestring | nullpovinnéisActivebooleanpovinnéisDefaultbooleanpovinnétotalintegerhasMorebooleanpovinnéVytvoření: sklad
/v1/warehousesCreate a warehouse. An analytic suffix splits its stock accounts, for example 132001
Nástroj MCP: create-warehouse
Tělo požadavku
namestringpovinnémax 120 charscodestringpovinnémax 32 charsanalyticSuffixstring | nulladdressstring | nullnotestring | nullisActivebooleanisDefaultbooleanOdpověď · 201
idstringpovinnénamestringpovinnécodestringpovinnéanalyticSuffixnull | stringpovinnéaddressstring | nullpovinnénotestring | nullpovinnéisActivebooleanpovinnéisDefaultbooleanpovinnéDetail: sklad
/v1/warehouses/{id}Get a warehouse
Nástroj MCP: get-warehouse
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnénamestringpovinnécodestringpovinnéanalyticSuffixnull | stringpovinnéaddressstring | nullpovinnénotestring | nullpovinnéisActivebooleanpovinnéisDefaultbooleanpovinnéÚprava: sklad
/v1/warehouses/{id}Update a warehouse. The analytic suffix can only change while the warehouse has never had stock movements posted.
Nástroj MCP: update-warehouse
Parametry v cestě
idstringpovinnéTělo požadavku
namestringmax 120 charscodestringmax 32 charsanalyticSuffixstring | nulladdressstring | nullnotestring | nullisActivebooleanisDefaultbooleanOdpověď · 200
idstringpovinnénamestringpovinnécodestringpovinnéanalyticSuffixnull | stringpovinnéaddressstring | nullpovinnénotestring | nullpovinnéisActivebooleanpovinnéisDefaultbooleanpovinnéSmazání: sklad
/v1/warehouses/{id}Delete a warehouse that was never used. Used warehouses can only be deactivated
Nevratná operaceTato operace se nedá vrátit. MCP klienti se před ní ptají na potvrzení.
Nástroj MCP: delete-warehouse
Parametry v cestě
idstringpovinnéOdpověď · 200
idstringpovinnédeletedbooleanpovinné