RequestInvoices Class
With this class, you can retrieve the invoices sent by the entity or sent to the entity.
Name | Description | |
---|---|---|
RequestInvoices(string, string, string, string, string, bool) | Creates a new instance of the RequestInvoices |
Name | Description | |
---|---|---|
Request(string, int, int, string[], bool) | Request - Get all invoices sent to the entity or the invoices sent by the entity. | |
getCancellationHistory() |
Get the cancellation history. It returns an ArrayList containing ArrayLists of the canellation history. Each item of the ArrayList contains the following items: invoiceMark, cancellationMark, cancellationDate in that order. |
|
getClassificationHistory() |
Get the classification history. It returns a datatable containing the classification history. |
|
getErrorMessage() | Get the myDATA error message. If there is no error, it returns Null | |
getInvoice(int) | Get the selected invoice, type of invoice. | |
getInvoices(bool) |
Get the summary of all invoices into a DataTable, ready to be displayed in a grid. Returns a data table containing the following columns: index, country, issuer, counterpart, issueDate, branch, invoiceType, aa, series, currency, selfPricing totalNetValue, totalVatAmount, totalWithheldAmount, totalFeesAmount, totalStampDutyAmount, totalOtherTaxesAmount, totalDeductionsAmount, totalGrossValue, totalEntries, mark, uid, cancellationMark in that order. |
Name | Description | |
---|---|---|
ECRTokens |
Struct ECRTokens It contains all the necessary fields required to determine Payment:ECR Token. |
|
ProvidersSignature |
Struct ProvidersSignature It contains all the necessary fields required to determine Payment:Provider Signature. |
|
address |
Struct address It contains all the necessary fields for an address. |
|
counterpart |
Struct counterpart It contains all the counterpart fields. |
|
deliveryNoteAddresses |
Struct otherDeliveryNotes It contains all the necessary fields required to determine Delivery Note Addresses. |
|
elements |
Struct elements It contains all the necessary fields required to determine an invoice. |
|
entityData |
Struct entityData It contains all the entity fields. |
|
invoice |
Struct invoice It contains all the necessary fields for an invoice. |
|
invoiceLine |
Struct invoiceLine. It contains all the fields of an invoice line. |
|
issuer |
Struct issuer It contains all the issuer fields. |
|
otherCorrelatedEntities |
Struct otherCorrelatedEntities It contains all the necessary fields required to determine a correlated Entity. A list of otherCorrelatedEntities, can be send with any elements.invoiceType. |
|
otherTransportDetails |
Struct otherTransportDetails It contains all the necessary fields required to determine Transport Details. |
|
paymentMethod |
Struct paymentMethod It contains all the necessary fields required to determine Payment Methods. |
Get started and retrieve your first Invoice