Accounting API Developer's Reference
|
c2g.CODAAPISalesInvoice_10_0global with sharing class CODAAPISalesInvoice_10_0 The service class relating to Sales Invoices. Properties
Methods
GetAPIVersionwebservice static String GetAPIVersion() Used to get the latest API version. Return ValueText GetServiceNamewebservice static String GetServiceName() Used to get the name of the service. Return ValueText CreateInvoicewebservice static c2g.CODAAPICommon.Reference CreateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice value) This service allows you to create a sales invoice. See "Sales Invoice Fields" and "What is a Sales Invoice" in the FinancialForce Help for more details.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. CreateRecurringInvoicewebservice static void CreateRecurringInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice value) This service allows you to create a recurring sales invoice. Input Parameters
Return ValueThis web service does not return a value. UpdateInvoicewebservice static c2g.CODAAPICommon.Reference UpdateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice value) This service allows you to update a sales invoice.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. PostInvoicewebservice static void PostInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to post a sales invoice. Input Parameters
Return ValueThis web service does not return a value. PostIncomeSchedulesNot for public use. webservice static void PostIncomeSchedules(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) GetInvoicewebservice static c2g.CODAAPIInvoiceTypes_10_0.Invoice GetInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to retrieve a sales invoice.
Input Parameters
Return ValueThis web service returns a c2g.CODAAPIInvoiceTypes_10_0.Invoice object. PrintInvoiceToEmailwebservice static void PrintInvoiceToEmail(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to print a sales invoice by emailing it to the account. Input Parameters
Return ValueThis web service does not return a value. PrintInvoicewebservice static Blob PrintInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to print a sales invoice to a PDF file. Input Parameters
Return ValueThis web service returns a Blob object. MarkAsPrintedwebservice static void MarkAsPrinted(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to set the Printed flag on a sales invoice to record that it has been printed. Input Parameters
Return ValueThis web service does not return a value. BulkCreateInvoicewebservice static c2g.CODAAPICommon.Reference[] BulkCreateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice[] values) This service allows you to create sales invoices in bulk. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkUpdateInvoicewebservice static c2g.CODAAPICommon.Reference[] BulkUpdateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice[] values) This service allows you to update sales invoices in bulk. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkPostInvoicewebservice static void BulkPostInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) This service allows you to post sales invoices in bulk. Input Parameters
Return ValueThis web service does not return a value. BulkMarkAsPrintedwebservice static void BulkMarkAsPrinted(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) This service allows you to set the Printed flag on sales invoices to record that they have been printed. Input Parameters
Return ValueThis web service does not return a value. BulkAmendInvoicewebservice static void BulkAmendInvoice(c2g.CODAAPICommon_10_0.Context context, List<c2g.CODAAPIInvoiceTypes_10_0.InvoiceForAmend> headers) This service allows you to amend posted sales invoices in bulk. Input Parameters
Return ValueThis web service does not return a value. BulkAmendInvoiceLineItemwebservice static void BulkAmendInvoiceLineItem(c2g.CODAAPICommon_10_0.Context context, List<c2g.CODAAPIInvoiceLineItemTypes_10_0.InvoiceLineItemForAmend> lines) This service allows you to amend posted sales invoice lines in bulk. Input Parameters
Return ValueThis web service does not return a value. ScheduleInvoicesForPostingwebservice static void ScheduleInvoicesForPosting(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) See "Posting Sales Documents That Have Their Tax Value Calculated by AvaTax" for information about using this service. Input Parameters
Return ValueThis web service does not return a value. |