Global API
...
Billing Schedules
Read
2 min
to read billing schedules, please use the parameters below supported “ where ” filters false 145,102 unhandled content type unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type example request map\<string, object> filters = new map\<string, object>(); filters put('internalid', '1,2'); // provide the internal id of the billing schedules here // encode additionalfilter after constructing it with +and+ for multi filters // field filters and additionalfilter for where param map\<string, object> filtermap = new map\<string, object>(); filtermap put('where', new map\<string, object>{'keyvaluemap'=>filters}); map\<string, object> requestjsonmap = new map\<string, object>(); requestjsonmap put('customparameters', filtermap); string reqjson = json serialize(requestjsonmap); map\<string, object> reqobj = new map\<string, object>(); reqobj put('version', '1 0'); reqobj put('action', 'readbillingschedule'); reqobj put('updatesf', true); reqobj put('requestjson', reqjson); // place a request to breadwinner global api map\<string, object> resp = breadwinner ns breadwinnernetsuiteapi call(reqobj); system debug(resp); response { action=readbillingschedule, responsejson={ "billingschedules" \[ { "scheduletype" " standard", "repeatevery" " 3", "project" null, "numberremaining" 8, "name" "25% down, quarterly 2 years", "ispublic" true, "isinactive" false, "internalid" "1", "initialterms" { "typeid" null, "type" null, "name" "net 15", "internalid" "1", "externalid" null }, "initialamount" "25 0%", "inarrears" false, "frequency" " monthly", "dayperiod" null, "billforactuals" null, "applytosubtotal" false }, { "scheduletype" " standard", "repeatevery" null, "project" null, "numberremaining" 0, "name" "100% upfront", "ispublic" true, "isinactive" false, "internalid" "2", "initialterms" { "typeid" null, "type" null, "name" "net 30", "internalid" "2", "externalid" null }, "initialamount" "100 0%", "inarrears" true, "frequency" " never", "dayperiod" null, "billforactuals" null, "applytosubtotal" false } ], "customparamters" { "where" { "value" null, "keyvaluemap" { "internalid" "5,6" } } }, "currentpagerecords" 2, "totalrecords" 2, "totalpages" 1, "searchid" "webservices td2876965 04282025208306621156539071 68a11246570", "pageindex" 1, "errors" \[ ], "status" "200" }, timestamp=1745839789359, validrequest=true, version=1 0 }