Supplier Delivery Scorecard
Score due purchase-order lines by on-time and in-full delivery, taking split receipts and outstanding quantities into account.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /supplier-delivery-scorecard/v1/check with an x402 V2 client.
Worked example
Request
{
"through_day": 12,
"lines": [
{
"line": "a",
"due_day": 10,
"ordered_units": 8,
"receipts": [
{
"day": 9,
"units": 4
},
{
"day": 10,
"units": 4
}
]
},
{
"line": "b",
"due_day": 10,
"ordered_units": 5,
"receipts": [
{
"day": 10,
"units": 2
},
{
"day": 11,
"units": 2
}
]
},
{
"line": "c",
"due_day": 13,
"ordered_units": 5,
"receipts": []
}
]
}Result
{
"due_lines": 2,
"otif_lines": 1,
"otif_basis_points": 5000,
"pending_lines": [
"c"
],
"lines": [
{
"line": "a",
"on_time_units": 8,
"short_units": 0,
"otif": true
},
{
"line": "b",
"on_time_units": 2,
"short_units": 1,
"otif": false
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter