Request parameters:
- long organisationId - organisation id
- long journalId - journal id
- long vatId - VAT record id
- VATEntry vatRecord - VAT data.
/// VAT entry details. public class
VATEntry
{
// VAT entry id. // Ignored on create request. public long? VatEntryId { get; set; }
// Journal. public
mMApiFkField Journal { get; set; }
// VAT date. public DateTime? VatDate { get; set; }
// VAT book:
// <ul>
//     <li>PR - Received invoices book,</li>
//     <li>IR - Issued invoices book </li>
// </ul> public string VatBook { get; set; }
// VAT accounting type. When organisation is subjected to VAT and the value is not supplied, it gets filled automatically by the system. public string VatAccountingType { get; set; }
// Code for basis of increase/decrase previous tax deduction. Only for e-invoice for Minimax RS. public string BasisForCorrection { get; set; }
// Only for organisations that send data to eFaktura. Forwarding VAT data to SEF. Options:
// <ul>
//     <li>Eracun - EInvoice</li>
//     <li>Zbirno - Group</li>
//     <li>Posamicno – Individual</li>
// </ul> public string ForwardToSEF { get; set; }
// VAT entry date. public DateTime? VatEntryDate { get; set; }
// Customer. public
mMApiFkField Customer { get; set; }
// Document. public string Document { get; set; }
// Only for received invoices. Options:
// <ul>
//     <li>ERacun – Einvoice</li>
//     <li>GotovinskiRacun – cash invoice</li>
//     <li>DrugiRacuni – other invoices</li>
// </ul> public string InvoiceType { get; set; }
// Document date. public DateTime? DocumentDate { get; set; }
// Received date. public DateTime? ReceivedDate { get; set; }
// Payment date. public DateTime? PaymentDate { get; set; }
// Only for Minimax RS for recived invoices. Transaction date. public DateTime? TransactionDate { get; set; }
// Self-taxing:
// <ul>
//     <li>D – yes,</li>
//     <li>N – no.</li>
// </ul> public string SelfTaxing { get; set; }
// OBJ:
// <ul>
//     <li>D – yes</li>
//     <li>N – no</li>
// </ul> public string OBJ { get; set; }
// Reverse:
// <ul>
//     <li>D – yes</li>
//     <li>N – no</li>
// </ul> public string Reverse { get; set; }
// Only for received invoices.<br/>
// Related document for self taxing. public string SelfTaxingRelatedDocument { get; set; }
// Journal entry. public
mMApiFkField JournalEntry { get; set; }
// Journal entry external ID. public string JournalEntryExternalId { get; set; }
// Notes. public string Notes { get; set; }
// Advance payment:
// <ul>
//     <li>D – yes,</li>
//     <li>N – no.</li>
// </ul> public string AdvancePayment { get; set; }
// Analytic. public
mMApiFkField Analytic { get; set; }
// VAT entry rows. public List<
VATEntryRow> VatEntryRows { get; set; }
public DateTime RecordDtModified { get; set; }
// Row version is used for concurrency check. // Ignored on create request. public string RowVersion { get; set; }
}
/// Link with id, name and url to related data. public class
mMApiFkField
{
// Record id. public long? ID { get; set; }
// Record name. public string Name { get; private set; }
// Url to full record details. public string ResourceUrl { get; private set; }
}
/// VAT entry row details. public class
VATEntryRow
{
// Vat entry row id. // Ignored on create request. public long? VatEntryRowId { get; set; }
// VAT entry. public
mMApiFkField VatEntry { get; set; }
// VAT rate. public
mMApiFkField VatRate { get; set; }
// VAT base. public Decimal VatBase { get; set; }
// VAT. public Decimal Vat { get; set; }
// Non-deductible VAT base. public Decimal NonDeductibleVatBase { get; set; }
// Non-deductible VAT. public Decimal NonDeductibleVat { get; set; }
// VAT base(services). public Decimal ServicesVatBase { get; set; }
// VAT value(services). public Decimal ServicesVat { get; set; }
// Non-deducted services VAT base. public Decimal ServicesNonDeductibleVatBase { get; set; }
// Non-deducted services VAT. public Decimal ServicesNonDeductibleVat { get; set; }
public DateTime RecordDtModified { get; set; }
// Row version is used for concurrency check. // Ignored on create request. public string RowVersion { get; set; }
}
/// Link with id, name and url to related data. public class
mMApiFkField
{
// Record id. public long? ID { get; set; }
// Record name. public string Name { get; private set; }
// Url to full record details. public string ResourceUrl { get; private set; }
}
Request parameters:
- Int64 organisationId - organisation id
- Int64 journalId - journal id
- Int64 vatId - VAT record id
- VATEntry vatRecord - VAT data.
/// VAT entry details. class
VATEntry
{
// VAT entry id. // Ignored on create request. public $VatEntryId;
// Journal. public $Journal;
// VAT date. public $VatDate;
// VAT book:
// <ul>
//     <li>PR - Received invoices book,</li>
//     <li>IR - Issued invoices book </li>
// </ul> public $VatBook;
// VAT accounting type. When organisation is subjected to VAT and the value is not supplied, it gets filled automatically by the system. public $VatAccountingType;
// Code for basis of increase/decrase previous tax deduction. Only for e-invoice for Minimax RS. public $BasisForCorrection;
// Only for organisations that send data to eFaktura. Forwarding VAT data to SEF. Options:
// <ul>
//     <li>Eracun - EInvoice</li>
//     <li>Zbirno - Group</li>
//     <li>Posamicno – Individual</li>
// </ul> public $ForwardToSEF;
// VAT entry date. public $VatEntryDate;
// Customer. public $Customer;
// Document. public $Document;
// Only for received invoices. Options:
// <ul>
//     <li>ERacun – Einvoice</li>
//     <li>GotovinskiRacun – cash invoice</li>
//     <li>DrugiRacuni – other invoices</li>
// </ul> public $InvoiceType;
// Document date. public $DocumentDate;
// Received date. public $ReceivedDate;
// Payment date. public $PaymentDate;
// Only for Minimax RS for recived invoices. Transaction date. public $TransactionDate;
// Self-taxing:
// <ul>
//     <li>D – yes,</li>
//     <li>N – no.</li>
// </ul> public $SelfTaxing;
// OBJ:
// <ul>
//     <li>D – yes</li>
//     <li>N – no</li>
// </ul> public $OBJ;
// Reverse:
// <ul>
//     <li>D – yes</li>
//     <li>N – no</li>
// </ul> public $Reverse;
// Only for received invoices.<br/>
// Related document for self taxing. public $SelfTaxingRelatedDocument;
// Journal entry. public $JournalEntry;
// Journal entry external ID. public $JournalEntryExternalId;
// Notes. public $Notes;
// Advance payment:
// <ul>
//     <li>D – yes,</li>
//     <li>N – no.</li>
// </ul> public $AdvancePayment;
// Analytic. public $Analytic;
// VAT entry rows. public $VatEntryRows;
public $RecordDtModified;
// Row version is used for concurrency check. // Ignored on create request. public $RowVersion;
}
/// Link with id, name and url to related data. class
mMApiFkField
{
// Record id. public $ID;
// Record name. public $Name;
// Url to full record details. public $ResourceUrl;
}
/// VAT entry row details. class
VATEntryRow
{
// Vat entry row id. // Ignored on create request. public $VatEntryRowId;
// VAT entry. public $VatEntry;
// VAT rate. public $VatRate;
// VAT base. public $VatBase;
// VAT. public $Vat;
// Non-deductible VAT base. public $NonDeductibleVatBase;
// Non-deductible VAT. public $NonDeductibleVat;
// VAT base(services). public $ServicesVatBase;
// VAT value(services). public $ServicesVat;
// Non-deducted services VAT base. public $ServicesNonDeductibleVatBase;
// Non-deducted services VAT. public $ServicesNonDeductibleVat;
public $RecordDtModified;
// Row version is used for concurrency check. // Ignored on create request. public $RowVersion;
}
/// Link with id, name and url to related data. class
mMApiFkField
{
// Record id. public $ID;
// Record name. public $Name;
// Url to full record details. public $ResourceUrl;
}
Request parameters:
- Long organisationId - organisation id
- Long journalId - journal id
- Long vatId - VAT record id
- VATEntry vatRecord - VAT data.
/// VAT entry details. public class
VATEntry
{
// VAT entry id. // Ignored on create request. public Long VatEntryId;
// Journal. public
mMApiFkField Journal;
// VAT date. public Date VatDate;
// VAT book:
// <ul>
//     <li>PR - Received invoices book,</li>
//     <li>IR - Issued invoices book </li>
// </ul> public String VatBook;
// VAT accounting type. When organisation is subjected to VAT and the value is not supplied, it gets filled automatically by the system. public String VatAccountingType;
// Code for basis of increase/decrase previous tax deduction. Only for e-invoice for Minimax RS. public String BasisForCorrection;
// Only for organisations that send data to eFaktura. Forwarding VAT data to SEF. Options:
// <ul>
//     <li>Eracun - EInvoice</li>
//     <li>Zbirno - Group</li>
//     <li>Posamicno – Individual</li>
// </ul> public String ForwardToSEF;
// VAT entry date. public Date VatEntryDate;
// Customer. public
mMApiFkField Customer;
// Document. public String Document;
// Only for received invoices. Options:
// <ul>
//     <li>ERacun – Einvoice</li>
//     <li>GotovinskiRacun – cash invoice</li>
//     <li>DrugiRacuni – other invoices</li>
// </ul> public String InvoiceType;
// Document date. public Date DocumentDate;
// Received date. public Date ReceivedDate;
// Payment date. public Date PaymentDate;
// Only for Minimax RS for recived invoices. Transaction date. public Date TransactionDate;
// Self-taxing:
// <ul>
//     <li>D – yes,</li>
//     <li>N – no.</li>
// </ul> public String SelfTaxing;
// OBJ:
// <ul>
//     <li>D – yes</li>
//     <li>N – no</li>
// </ul> public String OBJ;
// Reverse:
// <ul>
//     <li>D – yes</li>
//     <li>N – no</li>
// </ul> public String Reverse;
// Only for received invoices.<br/>
// Related document for self taxing. public String SelfTaxingRelatedDocument;
// Journal entry. public
mMApiFkField JournalEntry;
// Journal entry external ID. public String JournalEntryExternalId;
// Notes. public String Notes;
// Advance payment:
// <ul>
//     <li>D – yes,</li>
//     <li>N – no.</li>
// </ul> public String AdvancePayment;
// Analytic. public
mMApiFkField Analytic;
// VAT entry rows. public List<
VATEntryRow> VatEntryRows;
public Date RecordDtModified;
// Row version is used for concurrency check. // Ignored on create request. public String RowVersion;
}
/// Link with id, name and url to related data. public class
mMApiFkField
{
// Record id. public Long ID;
// Record name. public String Name;
// Url to full record details. public String ResourceUrl;
}
/// VAT entry row details. public class
VATEntryRow
{
// Vat entry row id. // Ignored on create request. public Long VatEntryRowId;
// VAT entry. public
mMApiFkField VatEntry;
// VAT rate. public
mMApiFkField VatRate;
// VAT base. public Double VatBase;
// VAT. public Double Vat;
// Non-deductible VAT base. public Double NonDeductibleVatBase;
// Non-deductible VAT. public Double NonDeductibleVat;
// VAT base(services). public Double ServicesVatBase;
// VAT value(services). public Double ServicesVat;
// Non-deducted services VAT base. public Double ServicesNonDeductibleVatBase;
// Non-deducted services VAT. public Double ServicesNonDeductibleVat;
public Date RecordDtModified;
// Row version is used for concurrency check. // Ignored on create request. public String RowVersion;
}
/// Link with id, name and url to related data. public class
mMApiFkField
{
// Record id. public Long ID;
// Record name. public String Name;
// Url to full record details. public String ResourceUrl;
}