Logo
Submit a request
Follow

Expense

Adding an Expense Item to a Service Request

URL

https://app.bluefolder.com/api/1.0/serviceRequests/addExpense.aspx

Request

<request>
    <serviceRequestAddExpense>
        <serviceRequestID></serviceRequestID>
        <userID></userID>
        <dateUsed></dateUsed>
        <quantity></quantity>
        <billingStatus></billingStatus>
        <billingContractID></billingContractID>
        <itemNo></itemNo>
        <itemDescription></itemDescription>
        <itemUnitCost></itemUnitCost>
        <itemUnitPrice></itemUnitPrice>
        <publicNotes></publicNotes>
        <taxable></taxable>
    </serviceRequestAddExpense>
</request>
            
  • serviceRequestID - (required) numeric, must match an existing Service Request No.
  • userID - (required) numeric, must match an existing User ID from your user list
  • dateUsed - (required) datetime, must be in the format YYYY.MM.DD HH:MM AM
  • quantity - (required) numeric/decimal
  • billingStatus - string, must be either "billable", "notBillable", or "contract"
  • billingContractID
  • itemNo - string, must match an existing Item Name/No. from your Item List
  • itemDescription - string (250 char limit)
  • itemUnitCost - decimal (do not include currency symbols)
  • itemUnitPrice - decimal (do not include currency symbols)
  • publicNotes - string (no char limit)
  • taxable - boolean

Response

<response status="ok">
    <expenseID>xxxxxx</expenseID>
</response>
            

Editing an Expense Item

URL

https://app.bluefolder.com/api/1.0/serviceRequests/editExpense.aspx

Request

<request>
    <serviceRequestEditExpense>
        <expenseID></expenseID>
        <userID></userID>
        <dateUsed></dateUsed>
        <quantity></quantity>
        <billingStatus></billingStatus>
        <billingContractID></billingContractID>
        <itemNo></itemNo>
        <itemDescription></itemDescription>
        <itemUnitCost></itemUnitCost>
        <itemUnitPrice></itemUnitPrice>
        <publicNotes></publicNotes>
        <taxable></taxable>
    </serviceRequestEditExpense>
</request>
            
  • expenseID - (required) numeric, must match an existing Service Request Expense Item
  • userID - numeric, must match an existing User ID from your user list
  • dateUsed - datetime, must be in the format YYYY.MM.DD HH:MM AM
  • quantity - numeric/decimal
  • billingStatus - string, must be either "billable", "notBillable", or "contract"
  • billingContractID
  • itemNo - string, must match an existing Item Name/No. from your Item List
  • itemDescription - string (250 char limit)
  • itemUnitCost - decimal (do not include currency symbols)
  • itemUnitPrice - decimal (do not include currency symbols)
  • publicNotes - string (no char limit)
  • taxable - boolean

Response

<response status="ok">
    <expenseID>xxxxxx</expenseID>
</response>
            
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request