NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Employee → Transform to timeBill

AI-generated

Summary

Creates a NetSuite time bill for an employee using the Transform to timeBill operation.

Inputs

  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method to use (OAuth1 or OAuth2)
  • id (required) — Internal identifier of the employee
  • additionalFields — Additional fields to include in the request
  • caseTaskEvent — Additional fields for case task event
  • class — Additional fields for class
  • customForm — Additional fields for custom form
  • tranDate — NetSuite inserts today's date as the date of this transaction; can be overridden
  • department — Additional fields for department
  • hours — Duration of time worked, if not auto‑calculated
  • employee — Additional fields for employee
  • externalId — External identifier for the time bill
  • memo — Memo for the time transaction
  • Prefer — Request execution preference, e.g., respond-async
  • rate — Rate to apply to this time transaction
  • replace — Names of sublists to replace
  • subsidiary — Additional fields for subsidiary

Output shape

Record representing the newly created time bill

Returns the internal ID and external ID of the created time bill; in non‑debug mode the response body is empty on success.

Examples

Example 1: Create a time bill for employee 456 with default authentication

Set id=456, authMethod=oauth1, isDebugMode=false, tranDate to current date, leave other optional fields empty

Example 2: Create a time bill for employee 789 with debug mode and async preference

id=789, authMethod=oauth2, isDebugMode=true, Prefer=respond-async, include memo and rate fields

Links

Discussion