Model ID: accounting_purchaseOrder_info
Field | Type | Description |
---|
id | String | |
purchaseOrderNumber | String | |
status | Enum | [DRAFT, SUBMITTED, AUTHORISED, BILLED, DELETED, OPENED, NOT_SPECIFIED] |
createdAt | Date | |
updatedAt | Date | |
issueDate | Date | |
deliveryDate | Date | |
totalAmount | Double | |
totalTax | Double | |
totalDiscount | Double | |
customerContactId | String | |
vendorContactId | String | |
companyId | String | |
description | String | |
currency | String | Currency codes like USD, INR |
exchangeRate | String | |
addresses | List[Address] | Please refer to Address Model |
Model ID: accounting_purchaseOrder_lineItems
Field | Type | Description |
---|
lineItems | list[PurchaseOrderLineItem] | |
Field | Type | Description |
---|
lineItemId | String | |
itemId | String | |
itemCode | String | |
itemName | String | |
description | String | |
taxRateId | String | |
accountId | String | |
taxAmount | Double | |
totalAmount | Double | |
quantity | Double | |
unitRate | Double | |
discountAmount | Double | |
discountPercentage | Double | |
trackingCategories | List[TrackingCategoryInfo] | Please refer to TrackingCategory |
{
"info": {
"id": "ab148a49-e2da-48c0-a13b-6a1f894c573d",
"purchaseOrderNumber": "PO-0001",
"status": "AUTHORISED",
"createdAt": "2024-05-20T00:00:00Z",
"updatedAt": "2024-05-20T17:18:11Z",
"issueDate": "2024-05-20T00:00:00Z",
"deliveryDate": "2024-05-29T00:00:00Z",
"totalAmount": 1800.0,
"totalTax": 0.0,
"totalDiscount": 200.0,
"customerContactId": "ac19c8f9-ac19c8f9",
"vendorContactId": "ac19c8f9-4db3",
"companyId": "ac19c8f9-a901-4db3-bef1-5aaca2a7c15a",
"description": "Black Tshirt for employees",
"currency": "USD",
"exchangeRate": "1.0",
"addresses": [
{
"addressLine1": "72/1A Church Street",
"addressLine2": "Texas USA",
"city": "Texas",
"state": "Atlanta",
"country": "USA",
"zipCode": "20203939",
"addressType": "BILLING"
}
]
},
"lineItems": [
{
"lineItemId": "68b2f2d1-b52f-40da-aa8b-5392d6ae2fe4",
"itemId": null,
"itemCode": "T02",
"itemName": null,
"description": "Tshirt of medium size and black color from Knit Pvt. Ltd.",
"taxRateId": "NONE",
"accountId": "7050",
"taxAmount": 0.0,
"totalAmount": 1800.0,
"quantity": 20.0,
"unitRate": 100.0,
"discountAmount": null,
"discountPercentage": 10,
"trackingCategories": [
{
"categoryId": "2340d-cdwwr",
"categoryName": "ASIA",
"parentCategoryId": "a12302-2334",
"parentCategoryName": "Region"
}
]
}
]
}