InvoiceTypeDto Data Type

The Class InvoiceTypeDto.

Implemented Interfaces
Serializable
Properties
name data type constraints description
id number   The id.
auditableField array of AuditableFieldDto  
code string required The code
occTemplateCode string   The occ template code.
description string   The description
occTemplateNegativeCode string   The occ template negative code.
updatedCode string   The updated code.
occTemplateCodeEl string   The occ template code EL.
occTemplateNegativeCodeEl string   The occ template negative code EL.
customInvoiceXmlScriptInstanceCode string   The script instance code.
sequenceDto SequenceDto   The sequence dto.
invoiceValidationScriptCode string   The script to be used on invoice auto validation.
sellerSequence map of SequenceDto   The seller sequences.
appliesTo array of string   The applies to.
matchingAuto boolean   The matching auto.
invoiceAccountable boolean   Used to decide if AccountOperations will be created or not , during AO_Job execution
billingTemplateName string   The billing template name.
pdfFilenameEL string   An EL expression to customize invoice PDF file name.
xmlFilenameEL string   An EL expression to customize invoice XML file name.
billingTemplateNameEL string   The billing template name EL.
customFields CustomFieldsDto  
useSelfSequence boolean   The use Self Sequence .
mailingType string  
emailTemplateCode string  
excludeFromAgedTrialBalance boolean   Exclude this invoiceType from Aged Balance

Example

{
  "id" : 12345,
  "auditableField" : [ {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  }, {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  } ],
  "code" : "...",
  "occTemplateCode" : "...",
  "description" : "...",
  "occTemplateNegativeCode" : "...",
  "updatedCode" : "...",
  "occTemplateCodeEl" : "...",
  "occTemplateNegativeCodeEl" : "...",
  "customInvoiceXmlScriptInstanceCode" : "...",
  "sequenceDto" : {
    "prefixEL" : "...",
    "invoiceSequenceCode" : "...",
    "sequencePattern" : "...",
    "sequenceType" : "SEQUENCE"
  },
  "invoiceValidationScriptCode" : "...",
  "sellerSequence" : {
    "property1" : {
      "prefixEL" : "...",
      "invoiceSequenceCode" : "...",
      "sequencePattern" : "...",
      "sequenceType" : "REGEXP"
    },
    "property2" : {
      "prefixEL" : "...",
      "invoiceSequenceCode" : "...",
      "sequencePattern" : "...",
      "sequenceType" : "RUM"
    }
  },
  "appliesTo" : [ "...", "..." ],
  "matchingAuto" : true,
  "invoiceAccountable" : true,
  "billingTemplateName" : "...",
  "pdfFilenameEL" : "...",
  "xmlFilenameEL" : "...",
  "billingTemplateNameEL" : "...",
  "customFields" : {
    "customField" : [ {
      "code" : "...",
      "description" : "...",
      "fieldType" : "TEXT_AREA",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "STORE_ONLY",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    }, {
      "code" : "...",
      "description" : "...",
      "fieldType" : "CHECKBOX_LIST",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "STORE_ONLY",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    } ],
    "inheritedCustomField" : [ {
      "code" : "...",
      "description" : "...",
      "fieldType" : "STRING",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "INDEX",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    }, {
      "code" : "...",
      "description" : "...",
      "fieldType" : "BOOLEAN",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "INDEX",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    } ]
  },
  "useSelfSequence" : true,
  "mailingType" : "...",
  "emailTemplateCode" : "...",
  "excludeFromAgedTrialBalance" : true
}