← Files Purchase Order TotalsARCHIVED FILE

EXAMPLE.json

893 Bytes · Nov 3, 2026 · 12:12 UTC

↓ Download file

{
  "input": {
    "orders": [
      {
        "poId": "001",
        "freight": 10
      }
    ],
    "lines": [
      {
        "lineId": "01",
        "poId": "001",
        "sku": "A",
        "quantity": 4,
        "unitCost": 25,
        "discountPercent": 10
      },
      {
        "lineId": "02",
        "poId": "001",
        "sku": "B",
        "quantity": 2,
        "unitCost": 5,
        "discountPercent": 0
      }
    ]
  },
  "expected": {
    "summary": "1 purchase orders total 110.00 before tax.",
    "rows": [
      {
        "poId": "001",
        "lineCount": 2,
        "units": 6,
        "lineSubtotal": 100,
        "freight": 10,
        "totalBeforeTax": 110
      }
    ],
    "warnings": [
      "Assumes one common currency; excludes tax and exchange conversion.",
      "Line-first two-decimal rounding; no purchase order approval or sending."
    ]
  }
}

SHA-256: 9f5196dad3c98dc4d7f8e73f886296c215db52a8096e2ab34103a318252a31f1