API Documentation

class IssuedInvoice


Issued invoice details.
Property Description
Issued invoice id. Mandatory.
Invoice year. Optional. Readonly.
Invoice number. Optional. Readonly.
DocumentNumbering class DocumentNumbering. Document numbering. Optional.
Customer class Customer. Customer. Mandatory.
Invoice date. Mandatory.
Date of transaction. Optional.
Start date of transaction. Optional.
Invoice due date. Mandatory.
Addressee name. Default value. Max length: 250.
Addressee address. Default value. Max length: 250.
Addressee postal code. Default value. Max length: 30.
Addressee city. Default value. Max length: 250.
Addressee country name. Prohibited use when AddresseeCountry is set as home country. Default value. Max length: 250.
AddresseeCountry class Country. Addressee country. Default value.
Addressee GLN. Default value.
Recipient name. Optional. Max length: 250.
Recipient address. Optional. Max length: 250.
Recipient postal code. Optional. Max length: 30.
Recipient city. Optional. Max length: 250.
Recipient country name. Prohibited use when RecipientCountry is set as home country. Optional. Max length: 250.
RecipientCountry class Country. Recipient country. Mandatory.
Addressee GLN. Default value.
Rabate percent. Optional.
Exchange rate. Optional.
Document reference. Optional.
Payment reference. Optional. Readonly.
Currency class Currency. Currency. Mandatory.
Analytic class Analytic. Analytic. Optional.
Document class Document. Document. Optional. Readonly.
IssuedInvoiceReportTemplate class ReportTemplate. Report settings for issued invoices:
  • IR – for issued invoice,
  • DP – for credit note,
  • UP – for issued invoice with order for payment.
Report settings for proforma invoices:
  • PR – for proforma invoice,
  • PUPN – for proforma invoice with order for payment.
Default value.
DeliveryNoteReportTemplate class ReportTemplate. Report settings for delivery note:
  • DO – for delivery note
Default value.
Issued invoice and proforma invoice status:
  • O – Draft,
  • I - Issued
Mandatory. Readonly. Max length: 1.
The description that appears on issued invoice and proforma invoice above. Optional. Max length: 8000.
The description that appears on issued invoice and proforma invoice below. Optional. Max length: 8000.
The description that appears on delivery note above. Optional. Max length: 8000.
The description that appears on delivery note below. Optional. Max length: 8000.
Notes. Optional. Max length: 1000.
Employee class Employee. Employee. Optional.
Price calculation type(VAT):
  • D - VAT is included in the price
  • N - VAT is added to the prices
Default value. Max length: 1.
Recurring Invoice:
  • D – yes,
  • N – no.
Default value. Max length: 1.
InvoiceAttachment class DocumentAttachment. Invoice attachment (PDF invoice document). Optional.
EInvoiceAttachment class DocumentAttachment. e-invoice XML file. Optional.
Input type:
  • R – issued invoice,
  • P – proforma invoice.
Mandatory. Max length: 1.
Source document type for e-invoice:
  • IV - invoice
  • AAB – proforma invoice
  • AAK – delivery note
  • CD – credit note
  • CT - contract
  • ON - purchase order
  • VN - sales order
  • AEP - project
  • ALO - recipient
  • GC - public tender
  • ATS - object
Optional. Max length: 30.
Source document date for e-invoice. Optional.
PurposeCode class PurposeCode. Purpose code for e-invoice and invoice with order for payment. Optional.
Payment status:
  • Placan – Paid
  • DelnoPlacanZapadel – Partially paid, Overdue
  • DelnoPlacanNezapadel – Partially paid, Not yet due
  • NeplacanZapadel – Unpaid, Overdue
  • NeplacanNezapadel – Unpaid, Not yet due
  • Osnutek – Draft
  • Avans – Advance payment
Optional. Readonly. Max length: 20.
Invoice value (domestic currency). Optional. Readonly.
Paid value (domestic currency). Optional. Readonly.
Association With Issue From Stock:
  • N – no
  • D – yes
Optional. Max length: 1.
Invoice rows. List of IssuedInvoiceRow.
Payment methods. List of IssuedInvoicePaymentMethod.
Additional source documents. List of IssuedInvoiceAdditionalSourceDocument.
Optional.
Row version is used for concurrency check.