Invoices¶
Schema invoice.xsd (prefix inv), element inv:invoice
(version="2.0").
Invoice types (invoiceType)¶
Value |
Meaning |
|---|---|
|
issued invoice |
|
issued credit note |
|
issued debit note |
|
issued advance invoice |
|
issued proforma invoice |
|
issued corrective tax document |
|
receivable |
|
penalty |
|
received invoice |
|
received credit note / debit note |
|
received advance / proforma invoice |
|
received corrective tax document |
|
commitment (payable) |
Structure¶
invoiceHeaderid,extId,invoiceType(required),number(document number),symVar, datesdate,dateTax,dateAccounting,dateDue,dateDelivery…,accounting(pre-accounting),classificationVAT,text(up to 240 characters),partnerIdentity,myIdentity,paymentType,account,symConst,centre,activity,contract,note/intNote,liquidation(payment),labels,parameters.invoiceDetailrepeating
invoiceItem:text(max. 90),quantity,unit,coefficient,payVAT,rateVAT,percentVAT,discountPercentage,homeCurrency/foreignCurrency(unitPrice,price,priceVAT),code/stockItem(stock link),accounting,classificationVAT.invoiceSummaryroundingDocument,roundingVAT,calculateVAT,typeCalculateVATInclusivePrice,homeCurrency(totals per rate),foreignCurrency.
Payment and links¶
Creating an invoice from another document: the
linksblock (received orders, issue slips, receipts).Cancellation:
cancelDocument; corrective tax document:correctiveDocument.Paying an invoice: the
liquidationelement in the header, or a document in the bank / cash agenda (Pohoda agendas).
For an example of a received invoice with an advance and a stock item see the spec folder of the riesenia/pohoda project.