You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Creates an estimate. [See the documentation](https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/estimate#create-an-estimate)",
9
+
version: "0.0.1",
10
+
type: "action",
11
+
props: {
12
+
quickbooks,
13
+
customerRefValue: {
14
+
propDefinition: [
15
+
quickbooks,
16
+
"customer",
17
+
],
18
+
},
19
+
billEmail: {
20
+
type: "string",
21
+
label: "Bill Email",
22
+
description: "Email address where the estimate should be sent",
23
+
optional: true,
24
+
},
25
+
expirationDate: {
26
+
type: "string",
27
+
label: "Expiration Date",
28
+
description: "Date when the estimate expires (YYYY-MM-DD)",
29
+
optional: true,
30
+
},
31
+
acceptedBy: {
32
+
type: "string",
33
+
label: "Accepted By",
34
+
description: "Name of the customer who accepted the estimate",
35
+
optional: true,
36
+
},
37
+
acceptedDate: {
38
+
type: "string",
39
+
label: "Accepted Date",
40
+
description: "Date when the estimate was accepted (YYYY-MM-DD)",
41
+
optional: true,
42
+
},
43
+
currencyRefValue: {
44
+
propDefinition: [
45
+
quickbooks,
46
+
"currency",
47
+
],
48
+
},
49
+
docNumber: {
50
+
type: "string",
51
+
label: "Document Number",
52
+
description: "Reference number for the transaction",
53
+
optional: true,
54
+
},
55
+
billAddr: {
56
+
type: "object",
57
+
label: "Billing Address",
58
+
description: "Billing address details",
59
+
optional: true,
60
+
},
61
+
shipAddr: {
62
+
type: "object",
63
+
label: "Shipping Address",
64
+
description: "Shipping address details",
65
+
optional: true,
66
+
},
67
+
privateNote: {
68
+
type: "string",
69
+
label: "Private Note",
70
+
description: "Private note for internal use",
71
+
optional: true,
72
+
},
73
+
customerMemo: {
74
+
type: "string",
75
+
label: "Customer Memo",
76
+
description: "Memo visible to customer",
77
+
optional: true,
78
+
},
79
+
taxCodeId: {
80
+
propDefinition: [
81
+
quickbooks,
82
+
"taxCodeId",
83
+
],
84
+
},
85
+
lineItemsAsObjects: {
86
+
propDefinition: [
87
+
quickbooks,
88
+
"lineItemsAsObjects",
89
+
],
90
+
reloadProps: true,
91
+
},
92
+
},
93
+
asyncadditionalProps(){
94
+
constprops={};
95
+
if(this.lineItemsAsObjects){
96
+
props.lineItems={
97
+
type: "string[]",
98
+
label: "Line Items",
99
+
description: "Line items of an estimate. Set DetailType to `SalesItemLineDetail`, `GroupLineDetail`, or `DescriptionOnly`. Example: `{ \"DetailType\": \"SalesItemLineDetail\", \"Amount\": 100.0, \"SalesItemLineDetail\": { \"ItemRef\": { \"name\": \"Services\", \"value\": \"1\" } } }`",
description: "Creates a purchase order. [See the documentation](https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/purchaseorder#create-a-purchaseorder)",
9
+
version: "0.0.1",
10
+
type: "action",
11
+
props: {
12
+
quickbooks,
13
+
vendorRefValue: {
14
+
propDefinition: [
15
+
quickbooks,
16
+
"vendor",
17
+
],
18
+
},
19
+
dueDate: {
20
+
type: "string",
21
+
label: "Due Date",
22
+
description: "Date when the purchase order is due (YYYY-MM-DD)",
23
+
optional: true,
24
+
},
25
+
currencyRefValue: {
26
+
propDefinition: [
27
+
quickbooks,
28
+
"currency",
29
+
],
30
+
},
31
+
docNumber: {
32
+
type: "string",
33
+
label: "Document Number",
34
+
description: "Reference number for the transaction",
35
+
optional: true,
36
+
},
37
+
shipAddr: {
38
+
type: "object",
39
+
label: "Shipping Address",
40
+
description: "Shipping address details",
41
+
optional: true,
42
+
},
43
+
memo: {
44
+
type: "string",
45
+
label: "Memo",
46
+
description: "Memo or note for the purchase order",
47
+
optional: true,
48
+
},
49
+
lineItemsAsObjects: {
50
+
propDefinition: [
51
+
quickbooks,
52
+
"lineItemsAsObjects",
53
+
],
54
+
reloadProps: true,
55
+
},
56
+
},
57
+
asyncadditionalProps(){
58
+
constprops={};
59
+
if(this.lineItemsAsObjects){
60
+
props.lineItems={
61
+
type: "string[]",
62
+
label: "Line Items",
63
+
description: "Line items of a purchase order. Set DetailType to `ItemBasedExpenseLineDetail` or `AccountBasedExpenseLineDetail`. Example: `{ \"DetailType\": \"ItemBasedExpenseLineDetail\", \"Amount\": 100.0, \"ItemBasedExpenseLineDetail\": { \"ItemRef\": { \"name\": \"Services\", \"value\": \"1\" } } }`",
0 commit comments