curl --silent --show-error --fail-with-body --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": [
"string"
],
"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 --silent --show-error --fail-with-body --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": [
"string"
],
"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
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
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). Minimum: 0.Status codes
| Code | Meaning |
|---|---|
200 | — |
404 | — |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --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": [
"string"
],
"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 September 21, 2026