{
  "x402Version": 2,
  "id": 34863,
  "slug": "34863",
  "resource": "https://www.u2a.com.au/api/mcp/duplicate-invoice-detection",
  "description": "Flags exact and normalized duplicate invoices using invoice number, vendor, amount, and date fields with source indexes.",
  "type": "http",
  "serviceName": "U2A",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791595390/bazaar-icons/45f23a4ab50e602c.png",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x886e7a8d46E239A9d54F48da163B04bb002B14a0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amountField": "amount",
            "dateField": "date",
            "invoiceNumberField": "invoice_no",
            "records": [
              {
                "amount": 100,
                "date": "2026-10-01",
                "invoice_no": "INV-001",
                "vendor": "Acme Ltd"
              },
              {
                "amount": 100,
                "date": "2026-10-01",
                "invoice_no": "inv-001",
                "vendor": "ACME Limited"
              }
            ],
            "vendorField": "vendor"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "id": null,
            "jsonrpc": "2.0",
            "result": {
              "duplicate_count": 1,
              "duplicate_groups": [
                {
                  "match_key": [
                    "inv001",
                    "acme",
                    "100.00",
                    "2026-10-01"
                  ],
                  "record_indexes": [
                    0,
                    1
                  ]
                }
              ],
              "duplicate_record_count": 2,
              "skipped_records": []
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "amountField": {
                    "default": "amount",
                    "description": "Field holding the invoice amount; \"$1,000.00\" and 1000 are treated as equal.",
                    "type": "string"
                  },
                  "dateField": {
                    "default": "date",
                    "description": "Field holding the invoice date (ISO dates compare by day).",
                    "type": "string"
                  },
                  "invoiceNumberField": {
                    "default": "invoice_number",
                    "description": "Field holding the invoice number; punctuation and case are ignored.",
                    "type": "string"
                  },
                  "records": {
                    "description": "Invoices to check (max 1000). Rows missing a matching field are returned in skipped_records.",
                    "items": {
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array"
                  },
                  "vendorField": {
                    "default": "vendor",
                    "description": "Field holding the vendor name; legal suffixes like Ltd/Inc are ignored.",
                    "type": "string"
                  }
                },
                "required": [
                  "records"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "u2a": {
      "category": "Data",
      "description": "Flags exact and normalized duplicate invoices using invoice number, vendor, amount, and date fields with source indexes.",
      "tags": [
        "accounting",
        "duplicate-invoice",
        "invoice-fraud",
        "accounts-payable",
        "audit-anomaly"
      ]
    }
  },
  "tags": [
    "accounting",
    "duplicate-invoice",
    "invoice-fraud",
    "accounts-payable",
    "audit-anomaly",
    "bazaar",
    "u2a"
  ],
  "sourceHost": "www.u2a.com.au",
  "lastUpdated": "2026-10-10T01:27:59.593Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-10T01:27:59.43Z"
  },
  "metadata": {
    "serviceName": "U2A",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791595390/bazaar-icons/45f23a4ab50e602c.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amountField": "amount",
              "dateField": "date",
              "invoiceNumberField": "invoice_no",
              "records": [
                {
                  "amount": 100,
                  "date": "2026-10-01",
                  "invoice_no": "INV-001",
                  "vendor": "Acme Ltd"
                },
                {
                  "amount": 100,
                  "date": "2026-10-01",
                  "invoice_no": "inv-001",
                  "vendor": "ACME Limited"
                }
              ],
              "vendorField": "vendor"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "id": null,
              "jsonrpc": "2.0",
              "result": {
                "duplicate_count": 1,
                "duplicate_groups": [
                  {
                    "match_key": [
                      "inv001",
                      "acme",
                      "100.00",
                      "2026-10-01"
                    ],
                    "record_indexes": [
                      0,
                      1
                    ]
                  }
                ],
                "duplicate_record_count": 2,
                "skipped_records": []
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "amountField": {
                      "default": "amount",
                      "description": "Field holding the invoice amount; \"$1,000.00\" and 1000 are treated as equal.",
                      "type": "string"
                    },
                    "dateField": {
                      "default": "date",
                      "description": "Field holding the invoice date (ISO dates compare by day).",
                      "type": "string"
                    },
                    "invoiceNumberField": {
                      "default": "invoice_number",
                      "description": "Field holding the invoice number; punctuation and case are ignored.",
                      "type": "string"
                    },
                    "records": {
                      "description": "Invoices to check (max 1000). Rows missing a matching field are returned in skipped_records.",
                      "items": {
                        "type": "object"
                      },
                      "maxItems": 1000,
                      "type": "array"
                    },
                    "vendorField": {
                      "default": "vendor",
                      "description": "Field holding the vendor name; legal suffixes like Ltd/Inc are ignored.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "records"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "u2a": {
        "category": "Data",
        "description": "Flags exact and normalized duplicate invoices using invoice number, vendor, amount, and date fields with source indexes.",
        "tags": [
          "accounting",
          "duplicate-invoice",
          "invoice-fraud",
          "accounts-payable",
          "audit-anomaly"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.u2a.com.au",
    "manifest_name": "www.u2a.com.au",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}