Global API
Requests
Estimate
3 min
when requesting an estimate, use the requestjson to pass the estimate data the response that is returned will contain a responsejson section which has the estimate response returned by breadwinner for netsuite the estimate object has the following parameters estimate field name data type description salesforceid id read only field, provides the salesforce record id upon successful creation or updation in salesforce billingaddress docid\ lgkoy7mdxhvjzkl2nr9ql provide the custom address billaddresslist docid\ lgkoy7mdxhvjzkl2nr9ql provide the internal id of the customer's address classification docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the class createddate long read only field, the date will be returned as a unix timestamp in seconds currencyname string read only field, returns the currency name category docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the category companyname string the name of the vendor required when isperson is set to false creditlimit double currencyname string read only field, returns the currency name currencyrecord docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the currency customfieldlist docid\ lgkoy7mdxhvjzkl2nr9ql custom fields and their values customform docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the custom form department docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the department discountitem docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the discount item discountrate string discount rate like “ 12” or “15” discounttotal double read only field, returns the total discount duedate long date is accepted and returned as a unix timestamp in seconds entity docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the entity (customer) entitystatus docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the prospect status expectedclosedate long date is accepted and returned as a unix timestamp in seconds exchangerate double supported only while creating, holds the value of the exchange rate externalid string handlingcost double read only field, returns the total handling cost internalid string itemlist /#lineitems holds the line items lastmodifieddate long read only field and the date is returned as a unix timestamp in seconds memo string otherrefnum string probability double probability like “20” or “80” salesrep docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the sales rep (employee) shippingaddress docid\ lgkoy7mdxhvjzkl2nr9ql provide the custom address shipaddresslist docid\ lgkoy7mdxhvjzkl2nr9ql provide the internal id of the customer's address shippingcost double read only field, returns the total handling cost status string read only field, returns the status of the estimate subtotal docid\ lgkoy7mdxhvjzkl2nr9ql read only field, returns the sub total subsidiary docid\ goasztqi8wczgotekytek internal id of the subsidiary by default, netsuite considers the subsidiary of the customer if not provided taxtotal double read only field, returns the total tax amount title string total double read only field, returns the total amount trandate long date is accepted and returned as a unix timestamp in seconds tranid string provide estimate # (number) or auto generated by netsuite lineitems field name data type description item /#lineitemrecord \[] list of lineitem records replaceall boolean the default value for the replaceall attribute is true if true,netsuite will replace all the line items with the new ones lineitemrecord field name data type description amount double classification docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the class customfieldlist docid\ lgkoy7mdxhvjzkl2nr9ql list of custom fields with their values department docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the department description string item description grossamt double item docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the item line integer specifies the line number, which should be unique across the lines location docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the location price docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the price level of item quantity double rate string revrecenddate long date is accepted and returned as a unix timestamp in seconds revrecschedule docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the rev rec schedule revrecstartdate long date is accepted and returned as a unix timestamp in seconds tax1amt double taxcode docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the tax code taxrate1 double

