' Options: 'Date: 2026-11-08 11:31:49 'Version: 5.140 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://devapi.billhighway.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: InvoiceCollection.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports BH.CloudAPI.Common.Interfaces Imports BH.CloudAPI.Common4.DTO.SalesForce Imports BH.API.CloudApi.Core Imports BH.CloudAPI.Common.DTO Namespace Global Namespace BH.API.CloudApi.Core Public Interface IHaveErrorField Property IsError As Boolean End Interface End Namespace Namespace BH.CloudAPI.Common.DTO Public Partial Class Invoice Implements IInvoiceValidation Public Sub New() InvoiceItems = New List(Of InvoiceItem) End Sub Public Overridable Property UniqueId As String Public Overridable Property ClientId As Integer Public Overridable Property GroupId As String Public Overridable Property Description As String Public Overridable Property OpportunityId As String Public Overridable Property Installments As Integer Public Overridable Property Frequency As Integer Public Overridable Property InvoiceDueDate As Date Public Overridable Property Deliver As Boolean Public Overridable Property UserId As String Public Overridable Property BhUserId As Integer Public Overridable Property CurrencyType As String Public Overridable Property InvoiceItems As List(Of InvoiceItem) Public Overridable Property InvoiceNo As Integer Public Overridable Property InvoiceAmt As Decimal Public Overridable Property ExternalInvBatchNo As String Public Overridable Property ExemptFromLateFee As Boolean End Class End Namespace Namespace BH.CloudAPI.Common.Interfaces Public Interface IHaveErrorField Property IsError As Boolean End Interface End Namespace Namespace BH.CloudAPI.Common4.DTO.SalesForce Public Partial Class Invoice Implements IInvoiceValidation Public Sub New() InvoiceItems = New List(Of InvoiceItem) End Sub Public Overridable Property UniqueId As String Public Overridable Property ClientId As Integer Public Overridable Property GroupId As String Public Overridable Property UserId As String Public Overridable Property OpportunityId As String Public Overridable Property InvoiceDueDate As Date Public Overridable Property Installments As Integer Public Overridable Property Frequency As Integer Public Overridable Property BhUserId As Integer Public Overridable Property Description As String Public Overridable Property Deliver As Boolean Public Overridable Property CurrencyType As String Public Overridable Property InvoiceItems As List(Of InvoiceItem) Public Overridable Property InvoiceNo As Integer Public Overridable Property InvoiceAmt As Decimal Public Overridable Property ExternalInvBatchNo As String Public Overridable Property ExemptFromLateFee As Boolean End Class Public Partial Class InvoiceCollection Implements IReturn(Of InvoiceCollectionReply) Public Sub New() InvoiceList = New List(Of Invoice) End Sub Public Overridable Property InvoiceList As List(Of Invoice) End Class Public Partial Class InvoiceCollectionReply Implements IHaveErrorField Public Sub New() InvoiceReply = New List(Of InvoiceReply) End Sub Public Overridable Property InvoiceReply As List(Of InvoiceReply) Public Overridable Property IsError As Boolean End Class Public Partial Class InvoiceReply Public Overridable Property UniqueId As String Public Overridable Property ErrorCode As Integer Public Overridable Property ErrorMessage As String Public Overridable Property InvBatchNo As Integer Public Overridable Property InvAmount As Decimal End Class End Namespace End Namespace