NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer → Transform to invoice

AI-generated

Summary

Transforms a Customer into an invoice via POST /customer/{id}/!transform/invoice.

Inputs

  • id (required) — Internal identifier of the Customer to transform into an invoice.
  • isDebugMode — Whether to include full request and response info in the output. Defaults to false.
  • authMethod — Authentication method for the request. Options: OAuth1 (default) or OAuth2.
  • tranDate — Posting date for the invoice. NetSuite inserts today's date by default; custom date can be provided.
  • tranId — Invoice number. NetSuite auto-increments the largest invoice number by default; custom number can be specified.
  • externalId — External identifier for the invoice.
  • currency — Currency for the invoice, specified as a collection with internal and external identifier options.
  • subsidiary — Subsidiary for the invoice, specified as a collection with internal and external identifier options.
  • department — Department for the invoice, specified as a collection with internal and external identifier options.
  • class — Class for the invoice, specified as a collection with internal and external identifier options.
  • terms — Terms for the invoice, specified as a collection with internal and external identifier options.
  • customForm — Custom form for the invoice. Available IDs: 203, 217, 218.
  • additionalFields — Additional NetSuite fields to include on the invoice, structured as a collection of named sub-collections.

Output shape

The operation returns the transformed invoice record. When isDebugMode is enabled, the full request and response details are included in the node output.

Invoice attributes such as total, subtotal, and computed amounts are determined by NetSuite and not user-specified unless explicitly provided as input parameters.

Links

Discussion