v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Pbi Service

savePbiV2

Create a new <glossary:Pbi>. Update one or more <glossary:Pbi>s.

post/pbi/v2/savePbi

Headers

authenticationtokenstring required

Secure token for API authentication.

passwordstring required

Password for the Crunchtime Application User.

sitenamestring required

Crunchtime site identifier. (test or production)

useridstring required

User ID for the Crunchtime Application User.

X-B3-TraceIdstring

Optional trace identifier for troubleshooting.

Request body

locationCodestring required

The Code that identifies the Location in Crunchtime.

Example request

{
  "locationCode": "000122",
  "pbiDetails": [
    {
      "pbiDetailDetails": [
        {
          "category": "NON-FOOD",
          "detailAmount": 15,
          "detailMemo": "Purchased Cleaning Supplies",
          "microcategory": "PAPER TOWELS",
          "subcategory": "PAPER GOODS"
        }
      ],
      "pbiHeaderDetails": {
        "checkNumber": "1701",
        "deliveryDate": "12/14/2025",
        "invoiceDate": "12/14/2025",
        "invoiceNumber": "74205",
        "invoiceTotal": 15,
        "locationCode": "100122",
        "vendorCode": "100700"
      }
    }
  ]
}

Response

Success

object required