InvoiceDto Data Type

Implemented Interfaces
Serializable
Properties
name data type description
invoiceId number
invoiceType string
billingAccountCode string
dueDate number
invoiceDate number
categoryInvoiceAgregate array of CategoryInvoiceAgregateDto
invoiceIdToLink array of number
invoiceNumber string
discount number
amountWithoutTax number
amountTax number
amountWithTax number
paymentMethod PaymentMethodEnum
pdfPresent boolean
pdf string
autoValidation boolean
returnXml boolean
returnPdf boolean
includeBalance boolean
recordedInvoiceDto RecordedInvoiceDto
netToPay number
invoiceMode InvoiceModeEnum
customFields CustomFieldsDto

Example

{
  "invoiceId" : 12345,
  "invoiceType" : "...",
  "billingAccountCode" : "...",
  "dueDate" : 12345,
  "invoiceDate" : 12345,
  "categoryInvoiceAgregate" : [ {
    "categoryInvoiceCode" : "...",
    "description" : "...",
    "subCategoryInvoiceAgregateDto" : [ {
      "type" : "...",
      "itemNumber" : 12345,
      "accountingCode" : "...",
      "description" : "...",
      "taxPercent" : 12345.0,
      "quantity" : 12345.0,
      "discount" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "amountTax" : 12345.0,
      "amountWithTax" : 12345.0,
      "invoiceSubCategoryCode" : "...",
      "taxesCodes" : [ "...", "..." ],
      "userAccountCode" : "...",
      "ratedTransaction" : [ { }, { } ]
    }, {
      "type" : "...",
      "itemNumber" : 12345,
      "accountingCode" : "...",
      "description" : "...",
      "taxPercent" : 12345.0,
      "quantity" : 12345.0,
      "discount" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "amountTax" : 12345.0,
      "amountWithTax" : 12345.0,
      "invoiceSubCategoryCode" : "...",
      "taxesCodes" : [ "...", "..." ],
      "userAccountCode" : "...",
      "ratedTransaction" : [ { }, { } ]
    } ]
  }, {
    "categoryInvoiceCode" : "...",
    "description" : "...",
    "subCategoryInvoiceAgregateDto" : [ {
      "type" : "...",
      "itemNumber" : 12345,
      "accountingCode" : "...",
      "description" : "...",
      "taxPercent" : 12345.0,
      "quantity" : 12345.0,
      "discount" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "amountTax" : 12345.0,
      "amountWithTax" : 12345.0,
      "invoiceSubCategoryCode" : "...",
      "taxesCodes" : [ "...", "..." ],
      "userAccountCode" : "...",
      "ratedTransaction" : [ { }, { } ]
    }, {
      "type" : "...",
      "itemNumber" : 12345,
      "accountingCode" : "...",
      "description" : "...",
      "taxPercent" : 12345.0,
      "quantity" : 12345.0,
      "discount" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "amountTax" : 12345.0,
      "amountWithTax" : 12345.0,
      "invoiceSubCategoryCode" : "...",
      "taxesCodes" : [ "...", "..." ],
      "userAccountCode" : "...",
      "ratedTransaction" : [ { }, { } ]
    } ]
  } ],
  "invoiceIdToLink" : [ 12345, 12345 ],
  "invoiceNumber" : "...",
  "discount" : 12345.0,
  "amountWithoutTax" : 12345.0,
  "amountTax" : 12345.0,
  "amountWithTax" : 12345.0,
  "paymentMethod" : "DIRECTDEBIT",
  "pdfPresent" : true,
  "pdf" : "...",
  "autoValidation" : true,
  "returnXml" : true,
  "returnPdf" : true,
  "includeBalance" : true,
  "recordedInvoiceDto" : {
    "productionDate" : 12345,
    "invoiceDate" : 12345,
    "amountWithoutTax" : 12345.0,
    "taxAmount" : 12345.0,
    "netToPay" : 12345.0,
    "paymentMethod" : "...",
    "paymentInfo" : "...",
    "paymentInfo1" : "...",
    "paymentInfo2" : "...",
    "paymentInfo3" : "...",
    "paymentInfo4" : "...",
    "paymentInfo5" : "...",
    "paymentInfo6" : "...",
    "billingAccountName" : "...",
    "id" : 12345,
    "dueDate" : 12345,
    "type" : "...",
    "transactionDate" : 12345,
    "transactionCategory" : "CREDIT",
    "reference" : "...",
    "accountCode" : "...",
    "accountCodeClientSide" : "...",
    "amount" : 12345.0,
    "matchingAmount" : 12345.0,
    "unMatchingAmount" : 12345.0,
    "matchingStatus" : "L",
    "occCode" : "...",
    "occDescription" : "...",
    "customerAccount" : "...",
    "excludedFromDunning" : true,
    "matchingAmounts" : {
      "matchingAmount" : [ { }, { } ]
    },
    "otherCreditAndCharge" : {
      "operationDate" : 12345,
      "id" : 12345,
      "dueDate" : 12345,
      "type" : "...",
      "transactionDate" : 12345,
      "transactionCategory" : "CREDIT",
      "reference" : "...",
      "accountCode" : "...",
      "accountCodeClientSide" : "...",
      "amount" : 12345.0,
      "matchingAmount" : 12345.0,
      "unMatchingAmount" : 12345.0,
      "matchingStatus" : "C",
      "occCode" : "...",
      "occDescription" : "...",
      "customerAccount" : "...",
      "excludedFromDunning" : true,
      "matchingAmounts" : { },
      "otherCreditAndCharge" : { },
      "recordedInvoice" : { },
      "rejectedPayment" : { },
      "bankLot" : "...",
      "bankReference" : "...",
      "bankCollectionDate" : 12345,
      "depositDate" : 12345,
      "customFields" : { }
    },
    "recordedInvoice" : { },
    "rejectedPayment" : {
      "rejectedType" : "M",
      "rejectedDate" : 12345,
      "rejectedDescription" : "...",
      "rejectedCode" : "...",
      "id" : 12345,
      "dueDate" : 12345,
      "type" : "...",
      "transactionDate" : 12345,
      "transactionCategory" : "CREDIT",
      "reference" : "...",
      "accountCode" : "...",
      "accountCodeClientSide" : "...",
      "amount" : 12345.0,
      "matchingAmount" : 12345.0,
      "unMatchingAmount" : 12345.0,
      "matchingStatus" : "P",
      "occCode" : "...",
      "occDescription" : "...",
      "customerAccount" : "...",
      "excludedFromDunning" : true,
      "matchingAmounts" : { },
      "otherCreditAndCharge" : { },
      "recordedInvoice" : { },
      "rejectedPayment" : { },
      "bankLot" : "...",
      "bankReference" : "...",
      "bankCollectionDate" : 12345,
      "depositDate" : 12345,
      "customFields" : { }
    },
    "bankLot" : "...",
    "bankReference" : "...",
    "bankCollectionDate" : 12345,
    "depositDate" : 12345,
    "customFields" : {
      "customField" : [ { }, { } ]
    }
  },
  "netToPay" : 12345.0,
  "invoiceMode" : "AGGREGATED",
  "customFields" : {
    "customField" : [ {
      "code" : "...",
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "STORE_ONLY"
    }, {
      "code" : "...",
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "STORE_ONLY"
    } ]
  }
}