Global API
Request

Bill

6min
when processing a bill, use the requestjson to pass the bill data the returned response will contain a responsejson section with the bill response returned by breadwinner for quickbooks the bill object has the following parameters bill field name data type description balance decimal the balance reflects any payments made against the transaction read only currencyref common data types docid\ goasztqi8wczgotekytek reference to the currency in which all amounts on the associated transaction are expressed departmentref common data types docid\ goasztqi8wczgotekytek a reference to a department object specifying the location of the transaction docnumber string bill number duedate string date when the payment of the transaction is due (add by converting date to string) exchangerate decimal the number of home currency units it takes to equal one unit of currency specified by currencyref, applicable if multicurrency is enabled for the company globaltaxcalculation string fixed values (notapplicable, taxinclusive,taxexcluded) homebalance decimal read only line bill docid\ mpzpcquzr oqlfeonw3y9 individual line items of a transaction id string unique identifier for this object and readonly field metadata common data types docid\ goasztqi8wczgotekytek descriptive information about the object the metadata values are set by data services and are read only privatenote string user entered, organization private note about the transaction synctoken string version number of the object it is used to lock an object for use by one app at a time read only totalamt decimal indicates the total amount of the transaction this includes the total of all the charges, allowances, and taxes read only txndate string the date entered by the user when this transaction occurred (add by converting date to string in yyyy mm dd format) txntaxdetail bill docid\ mpzpcquzr oqlfeonw3y9 this data type provides information for taxes charged on the transaction as a whole salestermref common data types docid\ goasztqi8wczgotekytek reference to a salesterm associated with this company object vendorref common data types docid\ goasztqi8wczgotekytek the id (unique quickbooks online id) for the referenced vendor lineitem field name data type description accountbasedexpenselinedetail bill docid\ mpzpcquzr oqlfeonw3y9 amount decimal description string detailtype string provide the detailtype as salesitemdetail, etc for shipping charge apply the detailtype as 'salesitemlinedetail' id string itembasedexpenselinedetail bill docid\ mpzpcquzr oqlfeonw3y9 accountbasedexpenselinedetail field name data type description apaccountref common data types docid\ goasztqi8wczgotekytek accountref common data types docid\ goasztqi8wczgotekytek billablestatus string vendorref common data types docid\ goasztqi8wczgotekytek itemref common data types docid\ goasztqi8wczgotekytek markupinfo bill docid\ mpzpcquzr oqlfeonw3y9 qty decimal unitprice decimal markinformation field name data type description percent decimal itembasedexpenselinedetail field name data type description billablestatus string vendorref common data types docid\ goasztqi8wczgotekytek itemref common data types docid\ goasztqi8wczgotekytek markupinfo bill docid\ mpzpcquzr oqlfeonw3y9 qty decimal unitprice decimal txntaxdetail field name data type description taxline taxline\[] totaltax decimal txntaxcoderef common data types docid\ goasztqi8wczgotekytek