SuiteTalk Web Services
Documentation article about SuiteTalk Web Services
SuiteTalk Web Services
SuiteTalk Web Services
Updated the following help topics:
Billing Schedule
Cash Refund
Cash Sale
Charge
Credit Memo
Invoice
--- Context from https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_89160926072.html --- The billing schedule record exposes a billing schedule to REST web services.
To access this record in NetSuite, go to List > Accounting > Billing Schedules > New.
This record enables you to create a billing schedule that can be applied to a sales order, a line item on a sales order, or a project. For details about this type of transaction, see Billing Schedules.
This record has the following subrecords:
Milestone (milestone)
Custom Recurrence Pattern (recurrence)
The REST API Browser includes information about the field names and field types of the billing schedule record and about the HTTP methods, request parameters, and operations available to this record.
For details, see the REST API Browser's billing schedule reference page.
For information about using the REST API Browser, see The REST API Browser.
Record ID
The record ID for a billing schedule REST record is billingschedule.
Code Samples
These samples show common use cases for billing schedules.
Create a Billing Schedule
POST: https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/BillingSchedule/ { "frequency": { "id": "QUARTERLY", "refName": "Quarterly" }, "inArrears": true, "initialAmount": 100.0, "name": "NetSuite Test", "numberRemaining": 4, "repeatEvery": { "id": "1", "refName": "1" }, "scheduleType": { "id": "STD", "refName": "Standard" } }
Read a Billing Schedule
GET: https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/BillingSchedule/106
Update a Billing Schedule
PATCH: https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/BillingSchedule/106 { "frequency": { "id": "QUARTERLY", "refName": "Quarterly" }, "inArrears": true, "initialAmount":50.0, "name": "NetSuite Test", "numberRemaining": 2, "repeatEvery": { "id": "1", "refName": "1" }, "scheduleType": { "id": "STD", "refName": "Standard" } }
Update a Billing Schedule with a Custom Recurrence Pattern
PATCH {{REST_SERVICES}}/record/v1/billingschedule/{id} {
"name": "Updated Billing Schedule N
--- Context from https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_40160920714.html --- The cash refund record exposes a cash refund to REST web services.
To access this record in NetSuite, go to Transactions > Customers > Refund Cash Sales.
A cash refund transaction records the return of money to a customer who immediately paid for goods or services using cash, a check or a credit card. For details about this type of transaction, see Refunding a Cash Sale.
This record has the following subrecords:
Accounting Books (accountingbookdetail)
Applied Rules (appliedrules)
Cash Refund Items (items)
Partners (partners)
Promotions (promotions)
Sales Team (salesteam)
Taxes (taxdetails)
The REST API Browser includes information about the field names and field types of the cash refund record and about the HTTP methods, request parameters, and operations available to this record.
For details, see the REST API Browser's cash refund reference page.
For information about using the REST API Browser, see The REST API Browser.
This record has fields related to taxation features. Refer to the following table for details:
Tax Feature
TAX_OVERHAULING
entitytaxregnum
Customer Tax Reg. Number
SELECT
handlingtaxamount
Handling Tax Amount
CURRENCY
shippingtaxamount
Shipping Tax Amount
CURRENCY
subsidiarytaxregnum
Subsidiary Tax Reg. Number
SELECT
taxdetails
Taxes
SUBLIST
taxdetailsoverride
Tax Details Override
CHECKBOX
taxpointdate
Tax Point Date
DATE
taxpointdateoverride
Tax Point Date Override
CHECKBOX
taxregoverride
Tax Registration Override
CHECKBOX
totalaftertaxes
Total After Taxes
CURRENCY
NOTTAX_OVERHAULING
handlingtax1rate
Tax Rate
RATE
handlingtax2rate
Tax Rate
RATE
handlingtaxcode
Handling Tax Code
SELECT
istaxable
Taxable
CHECKBOX
shippingtax1rate
Tax Rate
RATE
shippingtax2rate
Tax Rate
RATE
shippingtaxcode
Shipping Tax Code
SELECT
tax2total
PST
CURRENCY
taxitem
Tax Item
SELECT
taxrate
Tax Rate
FLOAT
vatregnum
VAT Registration
TEXT
To view the complete list of fields, go to Cash Refund i
Frequently Asked Questions (4)
How can I create a billing schedule using SuiteTalk REST API?
What operations are available on a cash refund record in SuiteTalk?
What subrecords does the billing schedule record support in SuiteTalk?
Can I update a billing schedule with a custom recurrence pattern using SuiteTalk REST API?
Was this article helpful?