' Options: 'Date: 2025-12-06 08:17:59 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: UpdateInvoiceRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class Invoice Public Overridable Property InvoiceID As Integer Public Overridable Property InvoiceUID As Guid? Public Overridable Property ProjectUID As Guid? Public Overridable Property InvoiceNumber As String Public Overridable Property InvoiceDate As Date? Public Overridable Property DueDate As Date? Public Overridable Property FromName As String Public Overridable Property FromPhone As String Public Overridable Property FromEmail As String Public Overridable Property FromAddress As String Public Overridable Property FromDesc As String Public Overridable Property ToName As String Public Overridable Property ToPhone As String Public Overridable Property ToEmail As String Public Overridable Property ToAddress As String Public Overridable Property ToDesc As String Public Overridable Property Notes As String Public Overridable Property Currency As String Public Overridable Property Status As Integer Public Overridable Property Total As Decimal? Public Overridable Property IsPaid As Boolean? Public Overridable Property PaidDate As Date? Public Overridable Property IsDeleted As Boolean? Public Overridable Property IsLocked As Boolean? Public Overridable Property CreatedDate As Date? Public Overridable Property ModifiedDate As Date? Public Overridable Property CreatedByUID As Guid? End Class Public Partial Class InvoiceLineItem Public Overridable Property InvoiceLineItemID As Integer Public Overridable Property InvoiceID As Integer Public Overridable Property Type As String Public Overridable Property Name As String Public Overridable Property Quantity As Integer? Public Overridable Property PercentageAdjust As Decimal? Public Overridable Property AmountAdjust As Decimal? Public Overridable Property Price As Decimal? Public Overridable Property Description As String Public Overridable Property Notes As String Public Overridable Property IsTaxable As Boolean? Public Overridable Property DisplayOrder As Integer? Public Overridable Property IsLocked As Boolean? Public Overridable Property IsDeleted As Boolean? Public Overridable Property IsPaid As Boolean? Public Overridable Property CreatedDate As Date? Public Overridable Property ModifiedDate As Date? Public Overridable Property CreatedByUID As Guid? End Class Public Partial Class UpdateInvoiceRequest Implements IReturn(Of UpdateInvoiceResponse) Public Overridable Property Invoice As Invoice Public Overridable Property LineItems As List(Of InvoiceLineItem) = New List(Of InvoiceLineItem) End Class Public Partial Class UpdateInvoiceResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Success As Boolean End Class End Namespace Namespace ServiceStack Public Partial Class ResponseStatus Implements IMeta Public Overridable Property ErrorCode As String Public Overridable Property Message As String Public Overridable Property StackTrace As String Public Overridable Property Errors As List(Of ResponseError) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace