Technische Prüfungen & Formate
commerce / commerce moving average cost transcript
An agent that reconciles a perpetual inventory valuation needs its claimed cumulative cost of sold units checked against exact moving weighted-average restocking and sale arithmetic.
POST https://detect.halowerk.com/v1/commerce/commerce-moving-average-cost-transcriptEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| artifact | object | Ja |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"properties": {
"artifact": {
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"buy",
"sell"
],
"minLength": 1,
"maxLength": 64
},
"units": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"unit_cost": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
}
},
"required": [
"kind",
"units",
"unit_cost"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 512
},
"claimed_cogs_numerator": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"claimed_cogs_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"events",
"claimed_cogs_numerator",
"claimed_cogs_denominator"
],
"additionalProperties": false
}
},
"required": [
"artifact"
],
"additionalProperties": false
}Veröffentlichtes Eingabebeispiel
{
"artifact": {
"events": [
{
"kind": "buy",
"units": 4,
"unit_cost": 19
},
{
"kind": "buy",
"units": 5,
"unit_cost": 2
},
{
"kind": "sell",
"units": 2,
"unit_cost": 0
},
{
"kind": "sell",
"units": 7,
"unit_cost": 0
},
{
"kind": "buy",
"units": 4,
"unit_cost": 12
},
{
"kind": "sell",
"units": 4,
"unit_cost": 0
}
],
"claimed_cogs_numerator": 134,
"claimed_cogs_denominator": 1
}
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Technische Prüfungen & Formate0,003 USDC
aria concrete role property support closure
POSThttps://detect.halowerk.com/u/aria-concrete-role-property-support-closureA component API exporter needs properties that are unsupported or prohibited for its selected explicit ARIA role rather than losing them silently during conversion.
- Technische Prüfungen & Formate0,003 USDC
aria description author source precedence
POSThttps://detect.halowerk.com/u/aria-description-author-source-precedenceA description-metadata exporter needs which author ARIA source survives precedence and which competing source is overridden before transferring help text.
- Technische Prüfungen & Formate0,003 USDC
aria explicit concrete role token fallback
POSThttps://detect.halowerk.com/u/aria-explicit-concrete-role-token-fallbackBefore removing compatibility role tokens, a website migration agent needs which concrete source role survives the normative fallback order.