Logo
2cloudnine Payroll API API Documentation

Invoice Setting Upsert

PATCH {{url}}/services/data/v{{version}}/sobjects/:SOBJECT_API_NAME/:EXTERNAL_ID_FIELD/:EXTERNAL_ID

  • Insert: Use the POST request to create a new client.
  • Upsert: Use the PUT request to create a new client or update an existing one.
  • Update: Use the PATCH request to update an existing client.
  • Retrieve: Use the GET request to retrieve information about a specific client.
  • Delete: Use the DELETE request to delete a client.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Authorization
string




RESPONSES

status





Curl
curl -X PATCH 'undefined/services/data/vundefined/sobjects/:SOBJECT_API_NAME/:EXTERNAL_ID_FIELD/:EXTERNAL_ID' -H 'Content-Type: application/json' -H 'Authorization: Bearer undefined' -d '{"tc9_et__Account__r":{"tc9_int__External_Id__c":"undefined"},"tc9_et__Invoice_Entity__r":{"tc9_int__External_Id__c":"inv_undefined"},"tc9_et__Payment_Terms__r":{"External_Id__c":"undefined"},"tc9_et__Invoice_Record_Type__c":"Payroll_Items","tc9_et__Effective_Date__c":"2023-01-01","tc9_et__Enable_0_and_Negative_Invoices__c":"No","tc9_et__Enable_Project_Codes_on_Invoice__c":"Yes","tc9_et__Split_Invoice_By_Project_Code__c":"No","tc9_et__Enable_Rate_Ex_Tax_on_Invoice__c":"Yes","tc9_et__Enable_Total_Ex_Tax_on_Invoice__c":"Yes","tc9_et__Enable_Total_Tax_on_Invoice__c":"Yes","tc9_et__Enable_Total_Inc_Tax_on_Invoice__c":"Yes","tc9_et__Split_Expenses_to_Own_Invoice__c":"Yes","tc9_et__Invoice_Visualforce_Page__c":"InvoicePayrollItemsAUS","tc9_et__Include_Backing_Sheet__c":"Yes","tc9_et__Delivery_Method__c":"Email with PDF Attachment","tc9_et__Timesheet_Attachments_with_Invoice__c":"Yes","tc9_et__Send_Invoice_Emails_From_Email__c":"salesforce@2cloudnine.com","tc9_et__Send_Invoice_Emails_Setting__c":"Current User","tc9_et__Email_Template_Single_PDF__c":"Standard_Email_Invoice_Single_PDF_AUS","tc9_et__Email_Template_Online__c":"Standard_Email_Invoice_URL_AUS","recordTypeId":"undefined"}'

ENDPOINTS