Reference data
Quantity codes
Units of measure accepted in invoiceLinePriceUnit.
GET{baseUrl}/{stage}/external/{businessId}/resources/invoice-quantity-code
Retrieve available invoice quantity codes.
Quick Reference
| Method | Endpoint | Authentication Required |
|---|---|---|
GET | {baseUrl}/{stage}/external/businesses/:businessId/resources/invoice-quantity-codes | Yes |
Request Structure
Path Parameters
businessIdstringrequired
Unique identifier of the business whose invoice quantity codes are being retrievedExample:
26ede24b-ac50-475f-aacc-5ea6339f0863Headers
Content-Typerequired
application/json or */*Acceptrequired
application/json or */*X-Business-Keyrequired
Response Format
Success Response (200)
{
"code": 200,
"data": [
{
"code": "10",
"name": "group",
"description": "A unit of count defining the number of groups (group: set of items classified together)."
},
{
"code": "11",
"name": "outfit",
"description": "A unit of count defining the number of outfits (outfit: a complete set of equipment / materials / objects used for a specific purpose)."
},
{
"code": "13",
"name": "ration",
"description": "A unit of count defining the number of rations (ration: a single portion of provisions)."
},
{
"code": "14",
"name": "shot",
"description": "A unit of liquid measure, especially related to spirits."
}
]
}Qorpy API by Qucoon Limited, an NRS-approved Access PointAPI version v1