{
  "info": {
    "name": "OpenAuditor — first invoice verification",
    "description": "A synthetic $24,800 supplier invoice with no PO reference. Expected: HTTP 200 and verdict false, with po_present failing. Set a local, unshared api_key value before sending. The body matches https://openauditor.ai/examples/invoice.json.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://openauditor.ai/api/v1",
      "type": "string"
    },
    {
      "key": "api_key",
      "value": "",
      "type": "string"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{api_key}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Verify the supplier invoice",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "{{base_url}}/verify",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"use_case\": \"financial-audit\",\n  \"item\": {\n    \"type\": \"invoice\",\n    \"id\": \"INV-2026-0841\",\n    \"data\": {\n      \"vendor_id\": \"V-1042\",\n      \"invoice_number\": \"INV-2026-0841\",\n      \"invoice_date\": \"2026-09-18\",\n      \"amount\": \"24800.00\",\n      \"currency\": \"USD\",\n      \"description\": \"20 business laptops for the finance team equipment refresh.\",\n      \"line_items\": [\n        {\n          \"quantity\": \"20\",\n          \"unit_price\": \"1240.00\",\n          \"description\": \"Business laptop, 16 GB RAM, 512 GB SSD\"\n        }\n      ],\n      \"tax_amount\": \"0.00\",\n      \"discount_amount\": \"0.00\"\n    }\n  },\n  \"context\": {\n    \"records\": {\n      \"vendor\": [\n        {\n          \"id\": \"V-1042\",\n          \"name\": \"Northstar IT Supply\",\n          \"created_on\": \"2024-02-12\",\n          \"status\": \"active\"\n        }\n      ],\n      \"invoice\": []\n    },\n    \"engagement\": {\n      \"entity\": \"Illustrative procurement audit\",\n      \"period\": {\n        \"start\": \"2026-07-01\",\n        \"end\": \"2026-09-30\"\n      }\n    }\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "description": "The invoice arithmetic and supplied vendor status hold. The empty invoice history has no duplicate peers in scope. The missing PO reference fails above the default $1,000 threshold. Read the assertions and certainty basis; a false verdict is a completed verification, not an HTTP error."
      },
      "response": []
    },
    {
      "name": "Check your plan and remaining allowance",
      "request": {
        "method": "GET",
        "header": [],
        "url": "{{base_url}}/usage",
        "description": "The account's plan, its limits, today's usage and what remains before the 00:00 UTC reset. Counts as one request toward the per-minute limit and adds no item or question usage."
      },
      "response": []
    }
  ]
}
