curl --request GET \
--url 'https://api.stateset.com/api/v1/ap/bills/{id}/three-way-match' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"bill_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lines": [
{
"bill_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"billed_quantity": "string",
"billed_unit_cost": "49.00",
"description": "Two-person tent, green — replacement for damaged pole set.",
"issues": [],
"matched": true,
"ordered_quantity": "string",
"ordered_unit_cost": "49.00",
"po_line_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price_variance": "string",
"quantity_variance": "string",
"received_quantity": "string"
}
],
"match_status": "string",
"tolerance_percent": "string",
"variance_line_count": 1
}
Ap three way match bill
Ap three way match bill
GET
/
api
/
v1
/
ap
/
bills
/
{id}
/
three-way-match
curl --request GET \
--url 'https://api.stateset.com/api/v1/ap/bills/{id}/three-way-match' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"bill_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lines": [
{
"bill_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"billed_quantity": "string",
"billed_unit_cost": "49.00",
"description": "Two-person tent, green — replacement for damaged pole set.",
"issues": [],
"matched": true,
"ordered_quantity": "string",
"ordered_unit_cost": "49.00",
"po_line_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price_variance": "string",
"quantity_variance": "string",
"received_quantity": "string"
}
],
"match_status": "string",
"tolerance_percent": "string",
"variance_line_count": 1
}
Path parameters
string
required
Bill ID
Query parameters
string
Relative tolerance percentage as a decimal string (e.g.
'5' = 5%). Defaults to 0 (exact matching).Response
ThreeWayMatchResponse
string
required
ThreeWayMatchLineResponse[]
required
string
required
One of
not_required, pending, matched, variance.string
required
integer,null (int64)
Number of lines with variances (present when
match_status is variance).Status codes
| Code | Meaning |
|---|---|
200 | — |
404 | — |
curl --request GET \
--url 'https://api.stateset.com/api/v1/ap/bills/{id}/three-way-match' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"bill_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lines": [
{
"bill_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"billed_quantity": "string",
"billed_unit_cost": "49.00",
"description": "Two-person tent, green — replacement for damaged pole set.",
"issues": [],
"matched": true,
"ordered_quantity": "string",
"ordered_unit_cost": "49.00",
"po_line_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price_variance": "string",
"quantity_variance": "string",
"received_quantity": "string"
}
],
"match_status": "string",
"tolerance_percent": "string",
"variance_line_count": 1
}
Last modified on August 31, 2026