Update a Specific JB Contract Detail
    • 29 May 2025
    • 7 Minutes to read
    • Dark
      Light

    Update a Specific JB Contract Detail

    • Dark
      Light

    Article summary

    Patch
    /jb-rest-api/rest/1/jbcontdet/2D9110EE26E10235E06327261DAC886A

    Overview

    The jbcontdet API endpoint (PATCH) is used to update billing details for a Job Billing contract. It allows adding new billing codes, defining billing amounts, units, retainage percentages, tax applicability, and invoice grouping. This endpoint ensures accurate job billing setup.

    UI Navigation

    Job Billing > Contracts > Enter Contract – Billing Items – Billing Codes tab

    Reference Article

    https://docs.cmicglobal.com/portal/Content/E_Reference_Material/JB_-_Job_Billing/Reference/Creating_a_Billing_Contract/Billing_Codes___Tab.htm

    Commonly Used Body Parameters

    CMiC UI FieldnameObjectNameDescriptionTypeData LengthExampleRequiredUpdatable
    FilterjbcontdetJbcdAmtBurdenFilterEnter Burden Filter: Regular, Premium Labor, Regular Insured Laborstring10RegularYesYes
    CatjbcontdetJbcdBillCatCodeEnter Valid Category Codestring16CYesYes
    Billing CodejbcontdetJbcdBillCodeEnter valid Billing Codestring50100.BI100YesYes
    JobjbcontdetJbcdBillJobCodeEnter valid job codestring10LGJOBYesYes
    Cost CodejbcontdetJbcdBillPhsCodeEnter the cost phase associatedstring16PH101YesYes
    TypejbcontdetJbcdBillingTypeCodeBilling Type Codestring4LSUMYesYes
    CompanyjbcontdetJbcdCompCodeEnter valid company codestring8ZZYesYes
    ContractjbcontdetJbcdContCodeEnter contract code associatedstring10CON123YesYes
    Curr $jbcontdetJbcdCurrCodeCurrency Codestring3CADYesYes
    DescriptionjbcontdetJbcdDescBilling Code Descriptionstring60TestYesYes
    Inv FmtjbcontdetJbcdInvoiceFormatCodeSpecifies the format in which invoices are generatedstring4FORMAT1YesYes
    MultiSubContractjbcontdetJbcdMultiSubcontFlagIndicates whether multiple subcontracts are usedstring1YYesYes
    MultiSubcontract VendorjbcontdetJbcdMultiSubcontVenFlagIndicates whether multiple subcontract vendors are assignedstring1NYesYes
    Sc RFPjbcontdetJbcdScRfpCostFlagDetermines if the bill code allows SC payment requests (Y = Yes, N = No)string1NYesYes
    Shared SavingsjbcontdetJbcdSharedSavingFlagY: Shared savings bill code, N: LumpSumstring1YYesYes
    Lst Rel %jbcontdetJbcdUseScrfpHldbkRelFlagY: Calculate retainage release amount as the same percentage as used in the latest SC request for paymentstring1NYesYes
    WmjbcontdetJbcdWmCodeEnter Weight/measure code for billing itemstring2HRYesYes

    Other (Optional) Body Parameters

    CMiC UI FieldnameObjectNameDescriptionTypeData LengthExampleRequiredUpdatable
    ActivejbcontdetJbcdActiveFlagIs Active or Notstring1YNoYes
    Bill ExistsjbcontdetJbcdBillExistsFlag indicating if a bill code exists (Y/ N)string1YNoYes
    Billing RatejbcontdetJbcdBillingRateA unit Rate for the billing itemnumber1810NoYes
    BillingjbcontdetJbcdBillingTypeNameBilling Type Name associatedstring60LUMPSUMNoYes
    Bill td AmountjbcontdetJbcdBilltdAmtTotal Amount billed to datenumber1825000NoYes
    Budg. Billing AmountjbcontdetJbcdBudgBillingAmtContract Amount for billing amountnumber1810000NoYes
    Budg. QtyjbcontdetJbcdBudgBillingQtyNumber of unitsnumber1680NoYes
    Budget EnabledjbcontdetJbcdBudgetEnableFlagIndicates if Budget tracking is enabled (Y/ N)string4000NNoYes
    Burden Stored MaterialjbcontdetJbcdBurStoredMaterialFlagFlag indicating whether burden is applied to stored materials (Y / N)string1NNoYes
    Burden LeveljbcontdetJbcdBurdenLevelBurden Levelinteger182NoYes
    Construction ValuejbcontdetJbcdConstructionValueConstruction value for this bill code. Leave empty to use job construction valuenumber185000NoYes
    % of ConstrjbcontdetJbcdConstructionValuePctPercentage of construction value for this bill code. Leave black to use job percentage of construction valuenumber1810NoYes
    Group 1jbcontdetJbcdGroupCode1Invoice Grouping: Used To Summarize Billing Lines On Invoicestring50GRP1NoYes
    Group 2jbcontdetJbcdGroupCode2Invoice Grouping: Used To Summarize Billing Lines On Invoicestring50GRP2NoYes
    Group 3jbcontdetJbcdGroupCode3Invoice Grouping: Used To Summarize Billing Lines On Invoicestring50GRP3NoYes
    Group 4jbcontdetJbcdGroupCode4Invoice Grouping: Used To Summarize Billing Lines On Invoicestring50GRP4NoYes
    Group 5jbcontdetJbcdGroupCode5Invoice Grouping: Used To Summarize Billing Lines On Invoicestring50GRP5NoYes
    Performance ObligationsjbcontdetJbcdGroupCode6Identifies the Bill Code as belonging to the 6th JB Group.string50PERF1NoYes
    Group Name 1jbcontdetJbcdGroupName1Group Name 1string80TESTNoYes
    Group Name 2jbcontdetJbcdGroupName2Group Name 2string80TESTNoYes
    Group Name 3jbcontdetJbcdGroupName3Group Name 3string80TESTNoYes
    Group Name 4jbcontdetJbcdGroupName4Group Name 4string80TESTNoYes
    Group Name 5jbcontdetJbcdGroupName5Group Name 5string80TESTNoYes
    Sc RetjbcontdetJbcdHldbkMethodDefines the retainage method: S (Subcontract) or P (Percentage)string1PNoYes
    Holdback PctjbcontdetJbcdHldbkPctPercentage of the invoice amount held as retainagenumber610NoYes
    Inv LeveljbcontdetJbcdInvLevelCodeDefines the invoice levelstring35LEVEL1NoYes
    Create DatejbcontdetJbcdIuCreateDateThe date the record was createddatetime2023-10-19T13:20:58-04:00NoYes
    Update DatejbcontdetJbcdIuUpdateDateLast modification date of the recorddatetime2023-10-20T13:20:58-04:00NoYes
    Labour ForecastjbcontdetJbcdLabourForecastFlagIndicates if labor forecasting is enabledstring1YNoYes
    Max Billing AmtjbcontdetJbcdMaxBillingAmtThe maximum allowable billing amountnumber18500.00NoYes
    Max QtyjbcontdetJbcdMaxBillingQtyMaximum Billing Quantitynumber16100NoYes
    Ret. CodejbcontdetJbcdRetCodeRetainage codestring10RET10NoYes
    Row IDjbcontdetJbcdRowidUnique row identifierstring181234NoYes
    Self-PerfjbcontdetJbcdSelfPerformedInvFlagIndicates whether the billing code applies to self-performed work (Y) or subcontract work (N)string1YNoYes
    Billing Ref CodejbcontdetJbcdSeparateBillingRefCodeSeparate Billing Reference Codestring60NNoYes
    Shared SavingsjbcontdetJbcdSharedSavingPctY: shared savings bill code, N: lump sum bill codenumber7NNoYes
    SubcontractjbcontdetJbcdSubcontCodeSubcontract Codestring20SC-2023NoYes
    System GenjbcontdetJbcdSysGeneratedFlagSystem Generatedstring1YNoYes
    Tax 1 AmountjbcontdetJbcdTax1AmtAmount of tax appliednumber500NoYes
    Tax 1jbcontdetJbcdTax1CodeLevel 1 Tax Code Applicable To This Linestring11TX01NoYes
    TaxablejbcontdetJbcdTax1TaxableFlagIndicates whether tax is applicable (Y) or not (N)string1YNoYes
    Tax 1 %jbcontdetJbcdTax1TaxablePctPortion Of Billed Amount That Is Taxable Using Tax Code 1 (Leave Blank For 100%)number188.25NoYes
    Tax 2 AmountjbcontdetJbcdTax2AmtAmount of tax appliednumber500NoYes
    Tax 2jbcontdetJbcdTax2CodeLevel 2 Tax Code Applicable To This Linestring11TX02NoYes
    TaxablejbcontdetJbcdTax2TaxableFlagChecked: Taxable Unchecked: Non Taxable. Tax Amount Will Be Calculated As Zero.string1YNoYes
    Tax 2 %jbcontdetJbcdTax2TaxablePctPortion Of Billed Amount That Is Taxable Using Tax Code 2 (Leave Blank For 100%)number186.75NoYes
    Tax 3 AmountjbcontdetJbcdTax3AmtAmount of tax appliednumber500NoYes
    Tax 3jbcontdetJbcdTax3CodeLevel 1 Tax Code Applicable To This Linestring11TX03NoYes
    TaxablejbcontdetJbcdTax3TaxableFlagChecked: Taxable Unchecked: Non Taxable. Tax Amount Will Be Calculated As Zero.string1YNoYes
    Tax 3 %jbcontdetJbcdTax3TaxablePctPortion Of Billed Amount That Is Taxable Using Tax Code 3 (Leave Blank For 100%)number188.75NoYes
    Total Budget Billing AmountjbcontdetJbcdTotalBudgAmtTotal Budget Billing Amountnumber1000NoYes
    VUuidjbcontdetJbcdVUuidUnique Identifierstring64Changes to DateNoYes
    VendorjbcontdetJbcdVenCodeEnter Vendor Who Did The Work. Leave Blank For Internal Work.string8VEN01NoYes
    Vendor NamejbcontdetJbcdVenNameEnter Vendor Namestring50TestNoYes
    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    Body parameters
    object
    Example{ "JbcdDesc": "JBCONTDET TEST PATCH 1" }
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "JbcdActiveFlag": "Y",
      "JbcdAmtBurdenFilter": "*",
      "JbcdBillCatCode": "1000",
      "JbcdBillCode": "LGJOB.01-101.1001",
      "JbcdBillExists": null,
      "JbcdBillJobCode": "LGJOB",
      "JbcdBillPhsCode": "0101-01-01T00:00:00Z",
      "JbcdBillingRate": null,
      "JbcdBillingTypeCode": "COST",
      "JbcdBillingTypeName": "Cost Plus Markup",
      "JbcdBilltdAmt": null,
      "JbcdBudgBillingAmt": null,
      "JbcdBudgBillingQty": null,
      "JbcdBudgetEnableFlag": "Y",
      "JbcdBurStoredMaterialFlag": null,
      "JbcdBurdenLevel": null,
      "JbcdCompCode": "ZZ",
      "JbcdConstructionValue": null,
      "JbcdConstructionValuePct": null,
      "JbcdContCode": "LGJOB",
      "JbcdCurrCode": "USD",
      "JbcdDesc": "JBCONTDET TEST PATCH 1",
      "JbcdGroupCode1": null,
      "JbcdGroupCode2": null,
      "JbcdGroupCode3": null,
      "JbcdGroupCode4": null,
      "JbcdGroupCode5": null,
      "JbcdGroupCode6": null,
      "JbcdGroupName1": null,
      "JbcdGroupName2": null,
      "JbcdGroupName3": null,
      "JbcdGroupName4": null,
      "JbcdGroupName5": null,
      "JbcdHldbkMethod": null,
      "JbcdHldbkPct": null,
      "JbcdInvLevelCode": null,
      "JbcdInvoiceFormatCode": "ZZ-S",
      "JbcdIuCreateDate": "2025-02-07T16:56:04Z",
      "JbcdIuUpdateDate": null,
      "JbcdLabourForecastFlag": "N",
      "JbcdMaxBillingAmt": null,
      "JbcdMaxBillingQty": null,
      "JbcdMultiSubcontFlag": "N",
      "JbcdMultiSubcontVenFlag": "N",
      "JbcdRetCode": "ZZ-STD",
      "JbcdRowid": "AAAYh4AAMAAOIhlAAD",
      "JbcdScRfpCostFlag": "N",
      "JbcdSelfPerformedInvFlag": null,
      "JbcdSeparateBillingRefCode": null,
      "JbcdSharedSavingFlag": "N",
      "JbcdSharedSavingPct": null,
      "JbcdSubcontCode": null,
      "JbcdSysGeneratedFlag": null,
      "JbcdTax1Amt": null,
      "JbcdTax1Code": null,
      "JbcdTax1TaxableFlag": "Y",
      "JbcdTax1TaxablePct": null,
      "JbcdTax2Amt": null,
      "JbcdTax2Code": null,
      "JbcdTax2TaxableFlag": "Y",
      "JbcdTax2TaxablePct": null,
      "JbcdTax3Amt": null,
      "JbcdTax3Code": null,
      "JbcdTax3TaxableFlag": "Y",
      "JbcdTax3TaxablePct": null,
      "JbcdTotalBudgAmt": 0,
      "JbcdUseScrfpHldbkRelFlag": "N",
      "JbcdVUuid": "2D9110EE26E10235E06327261DAC886A",
      "JbcdVenCode": null,
      "JbcdVenName": null,
      "JbcdWmCode": "HR",
      "links": [
        {
          "rel": "self",
          "href": "https://qamob.cmicpaas.com:443/cmicqadaily/jb-rest-api/rest/1/jbcontdet/2D9110EE26E10235E06327261DAC886A",
          "name": "jbcontdet",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "https://qamob.cmicpaas.com:443/cmicqadaily/jb-rest-api/rest/1/jbcontdet/2D9110EE26E10235E06327261DAC886A",
          "name": "jbcontdet",
          "kind": "item"
        }
      ]
    }
    object