Skip to content

ArticleWaste

ArticleWaste is a collection containing waste actions performed on POS terminals and in Munu portal systems. Waste data is stored in daily JSON files organized by business date.

Storage Location

{customer_id}/article_waste/{year}/{month}/{yyyymmdd}.json

Fields

FieldTypeRequiredDescription
idstringYesUnique waste record identifier.
datedatetimeYesDate and time when waste was registered.
customer_idintegerYesReference to Customer.
article_idintegerYesReference to Article.
article_namestringYesName of the article (denormalized).
terminal_idintegerYesReference to Terminal where waste was registered.
terminal_namestringYesName of terminal (denormalized).
user_guidguidYesReference to User who registered the waste.
waste_reason_idintegerYesReference to WasteReason.
waste_reasonstringYesName of waste reason (denormalized).
quantityfloatYesQuantity wasted.
unit_net_price_high_taxfloatNoUnit net price at high tax rate.
net_price_high_taxfloatNoTotal net price at high tax rate.
unit_net_price_medium_taxfloatNoUnit net price at medium tax rate.
net_price_medium_taxfloatNoTotal net price at medium tax rate.
unit_gross_price_high_taxfloatNoUnit gross price at high tax rate.
gross_price_high_taxfloatNoTotal gross price at high tax rate.
unit_gross_price_medium_taxfloatNoUnit gross price at medium tax rate.
gross_price_medium_taxfloatNoTotal gross price at medium tax rate.

Price Fields

Waste records include pricing at multiple tax rates to accurately reflect the value of wasted items:

  • High tax (25% in Norway): Used for non-food items
  • Medium tax (15% in Norway): Used for food items

Both unit prices and total prices are provided for flexibility in reporting.

Example

json
{
  "id": "3555906",
  "date": "2026-01-20T16:51:29",
  "customer_id": 10352,
  "article_id": 643932,
  "article_name": "Kanelsnurr",
  "terminal_id": 26347,
  "terminal_name": "BB Kanelsnurren Jar 01",
  "user_guid": "1A10CB10F128E094E0630A01000ABB04",
  "waste_reason_id": 6478,
  "waste_reason": "Slutt dag",
  "quantity": 8,
  "unit_net_price_high_tax": 46.4,
  "net_price_high_tax": 371.2,
  "unit_net_price_medium_tax": 50.43,
  "net_price_medium_tax": 403.44,
  "unit_gross_price_high_tax": 58,
  "gross_price_high_tax": 464,
  "unit_gross_price_medium_tax": 58,
  "gross_price_medium_tax": 464
}

Example - Multiple Waste Records

json
[
  {
    "id": "3555906",
    "date": "2026-01-20T16:51:29",
    "customer_id": 10352,
    "article_id": 643932,
    "article_name": "Kanelsnurr",
    "terminal_id": 26347,
    "terminal_name": "BB Kanelsnurren Jar 01",
    "user_guid": "1A10CB10F128E094E0630A01000ABB04",
    "waste_reason_id": 6478,
    "waste_reason": "Slutt dag",
    "quantity": 8
  },
  {
    "id": "3555916",
    "date": "2026-01-20T16:51:32",
    "customer_id": 10352,
    "article_id": 584739,
    "article_name": "4-kornbrød",
    "terminal_id": 26347,
    "terminal_name": "BB Kanelsnurren Jar 01",
    "user_guid": "1A10CB10F128E094E0630A01000ABB04",
    "waste_reason_id": 6478,
    "waste_reason": "Slutt dag",
    "quantity": 2
  }
]

Common Waste Reasons

IDNameDescription
-Slutt dagEnd of day waste
-ØdelagtDamaged/broken
-Utgått på datoPast expiration date
-KundeklageCustomer complaint
-SmaksprøveTasting/sampling
-Intern rep.Internal repair/adjustment

Note: Waste reason IDs are customer-specific. See WasteReasons for the customer's configured reasons.

Technical documentation for partners and integrators