Authorization: Bearer ********************
curl --location --request GET 'https://api.upbooks.io/api/v1/proposal?clientId&status&searchText&fromDate&toDate&country¤cyName' \
--header 'pageNo;' \
--header 'pageSize;' \
--header 'sortBy;' \
--header 'sortOrder;' \
--header 'ORGANIZATION-ID: 00000'
{
"data": [
{
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organizationId": "string",
"proposalNumber": "string",
"proposalDate": "2019-08-24T14:15:22Z",
"items": [
{
"name": "string",
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"quantity": 0,
"totalAmount": 0,
"taxAmount": 0,
"discountAmount": 0,
"finalAmount": 0,
"hsnCode": "string",
"product": {
"id": "string",
"name": "string",
"amount": 0,
"hsnCode": "string",
"unit": "mm",
"currency": {
"name": "string",
"symbol": "string"
},
"thumbnail": "string",
"productCategories": [
{
"id": "string",
"title": "string",
"thumbnail": "string",
"description": "string"
}
]
},
"service": {
"id": "string",
"title": "string",
"thumbnail": "string",
"paymentType": "one-time",
"paymentFrequency": 0,
"amount": 0,
"hsnCode": "string",
"currency": {
"name": "string",
"symbol": "string"
}
},
"tax": [
{
"id": "string",
"name": "string",
"percentage": 0,
"sysgenerated": true,
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"identifier": "string",
"slab": 0,
"type": "igst",
"taxableAmount": 0,
"regions": [
"string"
]
}
],
"discount": [
{
"id": "string",
"type": "percentage",
"value": 0,
"name": "string",
"discountCode": "string",
"currency": {
"name": "string",
"symbol": "string"
},
"sysgenerated": true,
"amount": 0
}
]
}
],
"totalAmount": 0,
"taxAmount": 0,
"discountAmount": 0,
"finalAmount": 0,
"taxCalculationMode": "before-discount",
"currency": {
"name": "string",
"symbol": "string"
},
"currencyConversionRate": {
"USD": 0,
"EUR": 0,
"GBP": 0,
"INR": 0,
"AUD": 0,
"SGD": 0,
"CAD": 0,
"JPY": 0,
"CNY": 0,
"SAR": 0,
"AED": 0
},
"tax": [
{
"id": "string",
"name": "string",
"percentage": 0,
"sysgenerated": true,
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"identifier": "string",
"slab": 0,
"type": "igst",
"taxableAmount": 0,
"regions": [
"string"
]
}
],
"discount": [
{
"id": "string",
"type": "percentage",
"value": 0,
"name": "string",
"discountCode": "string",
"currency": {
"name": "string",
"symbol": "string"
},
"sysgenerated": true,
"amount": 0
}
],
"orderId": "string",
"status": "draft",
"bankAccount": {
"title": "string",
"currency": {
"name": "string",
"symbol": "string"
},
"accountDetails": {
"sortCode": "string",
"IBANNumber": "string",
"swiftCode": "string",
"ifscCode": "string",
"branch": "string",
"bankName": "string",
"accountNumber": "string",
"name": "string"
}
},
"client": {
"id": "string",
"name": "string",
"clientType": "business",
"billingAddress": {
"locationName": "string",
"street1": "string",
"street2": "string",
"pincode": "string",
"city": "string",
"state": "string",
"country": "string"
},
"contacts": [
{
"isPrimary": true,
"salutation": "Mr.",
"firstName": "string",
"lastName": "string",
"email": "string",
"workPhone": "string",
"mobilePhone": "string",
"designation": "string",
"department": "string"
}
],
"shippingAddress": {
"locationName": "string",
"street1": "string",
"street2": "string",
"pincode": "string",
"city": "string",
"state": "string",
"country": "string"
},
"tax": {
"taxTreatment": "GST",
"taxNumber": "string",
"taxes": [
{
"id": "string",
"name": "string",
"percentage": 0
}
]
}
},
"proposalFile": "string",
"summary": "string",
"enquiry": {
"id": "string",
"enquiryNumber": "string"
},
"additional": [
{
"description": "string",
"section": "string"
}
],
"isDeleted": true,
"taxPerItem": true,
"discountPerItem": true,
"taxSummary": true
}
],
"totalCount": 0,
"filteredCount": 0,
"message": "string"
}