Operation: InvoiceInformationDetails
The element vcr:InvoiceInformationDetailsRequest extends vct:RequestType with a list of vcr:InvoiceID elements (xsd:normalizedString).
The element vcr:InvoiceInformationDetailsResponse extends vct:ResponseType with a list of vcr:Invoice and vcr:UnknownID elements (xsd:normalizedString). Invoice consists of the following elements:
Name | Type/occurrence | Description |
---|---|---|
vcr:InvoiceID | xsd:normalizedString | Document number of the invoice. |
cbc:IssueDate |
| Document date. |
vcr:Description | xsd:normalizedString? | Description. |
vcr:InvoiceURL | xsd:anyURI? | URL for access to original invoice. |
cac:Party | ? | Buyer's business data. |
vcr:GrossSum | cbc:PriceAmountType | Invoice amount (gross). |
vcr:NetSum | cbc:PriceAmountType | Sum of the net amounts from the line items. |
vcr:VAT | Indication of turnover tax. | |
vcr:LineItem | + | Delivery note's line items. |
Rules
Determined on the basis of the document numbers (InvoiceID) submitted in the request are the invoices whose document number is identical to one of the submitted document numbers.
The found invoices are communicated as Invoice elements in the response.
Communicated for each document number for which no invoice can be determined is an UnknownID element whose content comprises the document number.
The sum of the number of Invoice and UnkownID elements in the response must match the number of InvoiceID elements in the request.
OrderID or OrderConfirmationID / DeliveryNoteID references are to be used in the LineItem elements, unless the server profile has conveyed an UnsupportedQuery element whose content is an Invoice-OrderID / Invoice-OrderConfirmationID / Invoice-DeliveryNoteID, or the line item is actually not related to any order / order confirmation / delivery note.
The amount indicated by NetSum must match the sum of the LinePrice amounts of all LineItem elements.
For every existent ID of a LineItem.Item.TaxCategory, there is a VAT element with VAT.TaxCategory.ID=ID. In this case, VAT.TaxableAmount is the sum of all LinePrice amounts with the same LineItem.TaxCategory.ID, and VAT.TaxCategory.Percent = LineItem.TaxCategory.Percent. Furthermore, VAT.TaxAmount results from TaxableAmount*Percent/100.
For every VAT element, there is at least one LineItem with VAT.TaxCategory.ID = LineItem.TaxCategory.ID.
GrossSum is the payable invoice amount, and equal to the sum of NetSum and all VAT.TaxAmount instances.