' Options: 'Date: 2026-06-22 20:30:49 '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: PortalInvoiceRequest.* '''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 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 PortalInvoiceRequest Implements IReturn(Of PortalInvoiceResponse) Public Overridable Property Token As String End Class Public Partial Class PortalInvoiceResponse Public Overridable Property ResponseStatus As ResponseStatus 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 FromAddress As String Public Overridable Property ToName As String Public Overridable Property ToAddress As String Public Overridable Property Currency As String Public Overridable Property Total As Decimal Public Overridable Property AmountPaid As Decimal Public Overridable Property Balance As Decimal Public Overridable Property IsPaid As Boolean Public Overridable Property LineItems As List(Of InvoiceLineItem) = New List(Of InvoiceLineItem) 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