API Documentation

  • Home
  • ChangeLog
  • Terms of use
  • Swagger UI
  • Account
  • Address
  • Analytic
  • BankAccount
  • Contact
  • Country
  • Currency
  • Customer
  • Dashboard
  • Document
  • DocumentNumbering
  • Employee
  • ExchangeRate
  • Inbox
  • IssuedInvoice
  • IssuedInvoicePosting
  • Item
  • Journal
  • JournalType
  • Order
  • Organisation
  • Outbox
  • PaymentMethod
  • PayrollSettings
  • PostalCode
  • ProductGroup
  • PurposeCode
  • ReceivedInvoice
  • ReportTemplate
  • Stock
  • StockEntry
  • User
  • VatAccountingType
  • VatRate
  • Warehouse

IssuedInvoicePosting -> AddIssuedInvoicePosting

Adds a new issued invoice posting.

Request

Relative request path: api/orgs/{organisationId}/issuedinvoicepostings

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationIdorganisation id
issuedInvoicePostingissuedInvoicePosting

Request parameters:

  • long organisationId - organisation id
  • IssuedInvoicePosting issuedInvoicePosting - issuedInvoicePosting

    /// Issued invoice details.
    public class IssuedInvoicePosting
    {
        // Issued invoice posting id.
        // Ignored on create request.
        public long IssuedInvoicePostingId { get; set; }
        // Document type:
        // <ul>
        //     <li>IZT - daily income</li>
        //     <li>IRI - daily income invoice (used for VAT reporting purpuses to additionaly specify VAT, payments, taxes and revenues already included in daily income)</li>
        //     <li>IRS - issued invoice</li>
        //     <li>AVA - advance payment</li>
        // </ul>

        public string DocumentType { get; set; }
        // Status:
        // <ul>
        //     <li>O – draft,</li>
        //     <li>P - confirmed</li>
        // </ul>

        public string Status { get; set; }
        // Required and only available on document types:
        // <ul>
        //     <li>daily income invoice</li>
        //     <li>issued invoice</li>
        //     <li>advance payment</li>
        // </ul>

        public mMApiFkField Customer { get; set; }
        // Date of transaction. Required and only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        //     <li>advance payment</li>
        // </ul>

        public DateTime? DateTransaction { get; set; }
        // Invoice due date. Required and only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        // </ul>

        public DateTime? DateDue { get; set; }
        // Payment reference. Only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        // </ul>

        public string PaymentReference { get; set; }
        // Analytic.
        public mMApiFkField Analytic { get; set; }
        // Document date.
        public DateTime? Date { get; set; }
        // Document description.
        public string Description { get; set; }
        // Default = home currency.
        public mMApiFkField Currency { get; set; }
        // Default = 1.
        public Decimal ExchangeRate { get; set; }
        // Only for Minimax RS organisations that send data to eFaktura.
        // Forwarding VAT data to SEF
        // Options:
        // <ul>
        //     <li>Zbirno - Group</li>
        //     <li>Posamicno - Individual</li>
        // </ul>

        public string ForwardToSEF { get; set; }
        // Sales value (without VAT) to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        //     <li>Retail shop - Decoupled</li>
        // </ul>

        public Decimal SalesValue { get; set; }
        // Sales VAT to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        //     <li>Retail shop - Decoupled</li>
        // </ul>

        public Decimal SalesValueVAT { get; set; }
        // Purchase value to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        // </ul>

        public Decimal PurchaseValue { get; set; }
        // Payment methods. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public List<IssuedInvoicePostingPaymentMethod> IssuedInvoicePostingPaymentMethods { get; set; }
        // Taxes.
        public List<IssuedInvoicePostingTax> IssuedInvoicePostingTaxes { get; set; }
        // Revenues. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public List<IssuedInvoicePostingRevenue> IssuedInvoicePostingRevenues { get; set; }
        // Retail data for bookkeeping. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public IssuedInvoicePostingRetailDataForBookkeeping IssuedInvoicePostingRetailDataForBookkeeping { get; set; }
        // Retail data for value based stock management. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public IssuedInvoicePostingRetailDataForValueBasedStockManagement IssuedInvoicePostingRetailDataForValueBasedStockManagement { get; set; }
        // Retail data for stock management. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public IssuedInvoicePostingRetailDataForStockManagement IssuedInvoicePostingRetailDataForStockManagement { 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; }
        
        }
        /// Issued invoice payment method details.
        public class IssuedInvoicePostingPaymentMethod
        {
            // Issued invoice payment method id.
            // Ignored on create request.
            public long IssuedInvoicePostingPaymentMethodId { get; set; }
            // Issued invoice posting.
            public mMApiFkField IssuedInvoicePosting { get; set; }
            // Payment method.
            public mMApiFkField PaymentMethod { get; set; }
            // Payment amount in document currency.
            public Decimal Amount { get; set; }
            // Read only. Payment amount in domestic currency.
            public Decimal AmountInDomesticCurrency { get; set; }
            // Only available on document types:
            // <ul>
            //     <li>daily income invoice</li>
            // </ul>

            public mMApiFkField Customer { get; set; }
            // Reference to the advance payment invoice that is being taken into account by the underlying payment.
            public long? AdvancePaymentIssuedInvoicePostingId { get; set; }
            // Cash register (if cash gets deposited in a cash register).
            public mMApiFkField CashRegister { get; set; }
            // Revenue (if cash gets deposited in a cash register).
            public mMApiFkField Revenue { 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; }
            
            }
        /// Issued invoice posting revenue details.
        public class IssuedInvoicePostingTax
        {
            // Issued invoice posting tax id.
            // Ignored on create request.
            public long IssuedInvoicePostingTaxId { get; set; }
            // Issued invoice posting.
            public mMApiFkField IssuedInvoicePosting { get; set; }
            // Defines tax type:
            // <ul>
            //     <li>DDV - VAT</li>
            //     <li>DavekNaPotrosnjo - Consumption tax</li>
            //     <li>PosebenObracunEU - Submission of a special VAT return for the special regulation of the Union – ONE STOP SHOP</li>
            // </ul>

            public string TaxType { get; set; }
            // Tax subject type:
            // <ul>
            //     <li>B - goods</li>
            //     <li>S - services</li>
            // </ul>
            // Valid and required for VAT tax types.
            // Default = goods.
            //

            public string TaxSubjectType { get; set; }
            // VAT rate. Valid and required for VAT tax types.
            public mMApiFkField VatRate { get; set; }
            // Vat rate percentage identifier.
            // Valid and required for Submission of a special VAT return tax types.

            public mMApiFkField VatRatePercentage { get; set; }
            // Tax base percent
            public Decimal TaxPercentage { get; set; }
            // Tax base in document currency.
            public Decimal TaxBase { get; set; }
            // Tax amount in document currency.
            public Decimal TaxAmount { get; set; }
            // Tax base in domestic currency.
            public Decimal TaxBaseInDomesticCurrency { get; set; }
            // Tax amount in domestic currency.
            public Decimal TaxAmountInDomesticCurrency { get; set; }
            // VAT accounting type.
            public string VatAccountingType { get; set; }
            // Code for tax exemption reason
            // Only for Minimax RS
            //

            public string TaxExemptionReasonCode { get; set; }
            // Reference to the advance payment invoice tax record that is being taken into account by the underlying tax record.
            public long? AdvancePaymentIssuedInvoicePostingTaxId { 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; }
            
            }
        /// Issued invoice posting revenue details.
        public class IssuedInvoicePostingRevenue
        {
            // Issued invoice posting revenue id.
            // Ignored on create request.
            public long IssuedInvoicePostingRevenueId { get; set; }
            // Issued invoice posting.
            public mMApiFkField IssuedInvoicePosting { get; set; }
            // Account to be used for revenue posting
            public mMApiFkField Account { get; set; }
            // Revenue amount in document currency.
            public Decimal Amount { get; set; }
            // Read only. Revenue amount in domestic currency.
            public Decimal AmountInDomesticCurrency { 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; }
            
            }
        /// Issued invoice posting retail details.
        public class IssuedInvoicePostingRetailDataForBookkeeping
        {
            public List<IssuedInvoicePostingRetailDataForBookkeepingRow> Rows { get; set; }
        
        }

            public class IssuedInvoicePostingRetailDataForBookkeepingRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public long IssuedInvoicePostingRetailId { get; set; }
                // Issued invoice posting.
                public mMApiFkField IssuedInvoicePosting { get; set; }
                // VAT rate.
                public mMApiFkField VatRate { get; set; }
                // Item purchase value.
                public Decimal PurchaseValue { get; set; }
                // Item sales value.
                public Decimal SalesValue { get; set; }
                // Item sales value with VAT.
                public Decimal SalesValueWithVAT { get; set; }
                // Item VAT.
                public Decimal VAT { 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; }
                
                }
        /// Issued invoice posting retail details.
        public class IssuedInvoicePostingRetailDataForValueBasedStockManagement
        {
            // Warehouse.
            public mMApiFkField Warehouse { get; set; }
            // Additional warehouse. Used for composed articles that are decreased according to the received bill of materials upon release from warehouse.
            public mMApiFkField AdditionalWarehouse { get; set; }
            public List<IssuedInvoicePostingRetailDataForValueBasedStockManagementRow> Rows { 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; }
            
            }
            /// Issued invoice posting retail details.
            public class IssuedInvoicePostingRetailDataForValueBasedStockManagementRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public long IssuedInvoicePostingRetailId { get; set; }
                // Issued invoice posting.
                public mMApiFkField IssuedInvoicePosting { get; set; }
                // VAT rate.
                public mMApiFkField VatRate { get; set; }
                // Item sales value.
                public Decimal SalesValue { get; set; }
                // Item sales value with VAT.
                public Decimal SalesValueWithVAT { 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; }
                
                }
        /// Issued invoice posting retail details.
        public class IssuedInvoicePostingRetailDataForStockManagement
        {
            // Warehouse.
            public mMApiFkField Warehouse { get; set; }
            // Additional warehouse. Used for composed articles that are decreased according to the received bill of materials upon release from warehouse.
            public mMApiFkField AdditionalWarehouse { get; set; }
            public List<IssuedInvoicePostingRetailDataForStockManagementRow> Rows { 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; }
            
            }
            public class IssuedInvoicePostingRetailDataForStockManagementRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public long IssuedInvoicePostingRetailId { get; set; }
                // Issued invoice posting.
                public mMApiFkField IssuedInvoicePosting { get; set; }
                // Item.
                public mMApiFkField Item { get; set; }
                // Item quantity.
                public Decimal Quantity { get; set; }
                // Item price.
                public Decimal Price { get; set; }
                // Item purchase value.
                public Decimal PurchaseValue { get; set; }
                // Item selling price<br/>
                // The information depends on the setting whether prices are entered with VAT or without VAT (on VAT periods/Warehouse setting).

                public Decimal SellingPrice { get; set; }
                // Information whether Selling Price includes VAT or not.<br/><br/>Options:
                // <ul>
                //     <li>D - Selling price includes VAT</li>
                //     <li>N - Selling price does not include VAT</li>
                // </ul>

                public string SellingPriceIncludesVAT { get; set; }
                // Batch Number.
                public string BatchNumber { get; set; }
                // Serial number.
                public string SerialNumber { 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
  • IssuedInvoicePosting issuedInvoicePosting - issuedInvoicePosting

    /// Issued invoice details.
    class IssuedInvoicePosting
    {
        // Issued invoice posting id.
        // Ignored on create request.
        public $IssuedInvoicePostingId;
        // Document type:
        // <ul>
        //     <li>IZT - daily income</li>
        //     <li>IRI - daily income invoice (used for VAT reporting purpuses to additionaly specify VAT, payments, taxes and revenues already included in daily income)</li>
        //     <li>IRS - issued invoice</li>
        //     <li>AVA - advance payment</li>
        // </ul>

        public $DocumentType;
        // Status:
        // <ul>
        //     <li>O – draft,</li>
        //     <li>P - confirmed</li>
        // </ul>

        public $Status;
        // Required and only available on document types:
        // <ul>
        //     <li>daily income invoice</li>
        //     <li>issued invoice</li>
        //     <li>advance payment</li>
        // </ul>

        public $Customer;
        // Date of transaction. Required and only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        //     <li>advance payment</li>
        // </ul>

        public $DateTransaction;
        // Invoice due date. Required and only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        // </ul>

        public $DateDue;
        // Payment reference. Only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        // </ul>

        public $PaymentReference;
        // Analytic.
        public $Analytic;
        // Document date.
        public $Date;
        // Document description.
        public $Description;
        // Default = home currency.
        public $Currency;
        // Default = 1.
        public $ExchangeRate;
        // Only for Minimax RS organisations that send data to eFaktura.
        // Forwarding VAT data to SEF
        // Options:
        // <ul>
        //     <li>Zbirno - Group</li>
        //     <li>Posamicno - Individual</li>
        // </ul>

        public $ForwardToSEF;
        // Sales value (without VAT) to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        //     <li>Retail shop - Decoupled</li>
        // </ul>

        public $SalesValue;
        // Sales VAT to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        //     <li>Retail shop - Decoupled</li>
        // </ul>

        public $SalesValueVAT;
        // Purchase value to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        // </ul>

        public $PurchaseValue;
        // Payment methods. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public $IssuedInvoicePostingPaymentMethods;
        // Taxes.
        public $IssuedInvoicePostingTaxes;
        // Revenues. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public $IssuedInvoicePostingRevenues;
        // Retail data for bookkeeping. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public $IssuedInvoicePostingRetailDataForBookkeeping;
        // Retail data for value based stock management. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public $IssuedInvoicePostingRetailDataForValueBasedStockManagement;
        // Retail data for stock management. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public $IssuedInvoicePostingRetailDataForStockManagement;
        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;
        
        }
        /// Issued invoice payment method details.
        class IssuedInvoicePostingPaymentMethod
        {
            // Issued invoice payment method id.
            // Ignored on create request.
            public $IssuedInvoicePostingPaymentMethodId;
            // Issued invoice posting.
            public $IssuedInvoicePosting;
            // Payment method.
            public $PaymentMethod;
            // Payment amount in document currency.
            public $Amount;
            // Read only. Payment amount in domestic currency.
            public $AmountInDomesticCurrency;
            // Only available on document types:
            // <ul>
            //     <li>daily income invoice</li>
            // </ul>

            public $Customer;
            // Reference to the advance payment invoice that is being taken into account by the underlying payment.
            public $AdvancePaymentIssuedInvoicePostingId;
            // Cash register (if cash gets deposited in a cash register).
            public $CashRegister;
            // Revenue (if cash gets deposited in a cash register).
            public $Revenue;
            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;
            
            }
        /// Issued invoice posting revenue details.
        class IssuedInvoicePostingTax
        {
            // Issued invoice posting tax id.
            // Ignored on create request.
            public $IssuedInvoicePostingTaxId;
            // Issued invoice posting.
            public $IssuedInvoicePosting;
            // Defines tax type:
            // <ul>
            //     <li>DDV - VAT</li>
            //     <li>DavekNaPotrosnjo - Consumption tax</li>
            //     <li>PosebenObracunEU - Submission of a special VAT return for the special regulation of the Union – ONE STOP SHOP</li>
            // </ul>

            public $TaxType;
            // Tax subject type:
            // <ul>
            //     <li>B - goods</li>
            //     <li>S - services</li>
            // </ul>
            // Valid and required for VAT tax types.
            // Default = goods.
            //

            public $TaxSubjectType;
            // VAT rate. Valid and required for VAT tax types.
            public $VatRate;
            // Vat rate percentage identifier.
            // Valid and required for Submission of a special VAT return tax types.

            public $VatRatePercentage;
            // Tax base percent
            public $TaxPercentage;
            // Tax base in document currency.
            public $TaxBase;
            // Tax amount in document currency.
            public $TaxAmount;
            // Tax base in domestic currency.
            public $TaxBaseInDomesticCurrency;
            // Tax amount in domestic currency.
            public $TaxAmountInDomesticCurrency;
            // VAT accounting type.
            public $VatAccountingType;
            // Code for tax exemption reason
            // Only for Minimax RS
            //

            public $TaxExemptionReasonCode;
            // Reference to the advance payment invoice tax record that is being taken into account by the underlying tax record.
            public $AdvancePaymentIssuedInvoicePostingTaxId;
            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;
            
            }
        /// Issued invoice posting revenue details.
        class IssuedInvoicePostingRevenue
        {
            // Issued invoice posting revenue id.
            // Ignored on create request.
            public $IssuedInvoicePostingRevenueId;
            // Issued invoice posting.
            public $IssuedInvoicePosting;
            // Account to be used for revenue posting
            public $Account;
            // Revenue amount in document currency.
            public $Amount;
            // Read only. Revenue amount in domestic currency.
            public $AmountInDomesticCurrency;
            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;
            
            }
        /// Issued invoice posting retail details.
        class IssuedInvoicePostingRetailDataForBookkeeping
        {
            public $Rows;
        
        }

            class IssuedInvoicePostingRetailDataForBookkeepingRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public $IssuedInvoicePostingRetailId;
                // Issued invoice posting.
                public $IssuedInvoicePosting;
                // VAT rate.
                public $VatRate;
                // Item purchase value.
                public $PurchaseValue;
                // Item sales value.
                public $SalesValue;
                // Item sales value with VAT.
                public $SalesValueWithVAT;
                // Item VAT.
                public $VAT;
                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;
                
                }
        /// Issued invoice posting retail details.
        class IssuedInvoicePostingRetailDataForValueBasedStockManagement
        {
            // Warehouse.
            public $Warehouse;
            // Additional warehouse. Used for composed articles that are decreased according to the received bill of materials upon release from warehouse.
            public $AdditionalWarehouse;
            public $Rows;
        
        }

            /// 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;
            
            }
            /// Issued invoice posting retail details.
            class IssuedInvoicePostingRetailDataForValueBasedStockManagementRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public $IssuedInvoicePostingRetailId;
                // Issued invoice posting.
                public $IssuedInvoicePosting;
                // VAT rate.
                public $VatRate;
                // Item sales value.
                public $SalesValue;
                // Item sales value with VAT.
                public $SalesValueWithVAT;
                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;
                
                }
        /// Issued invoice posting retail details.
        class IssuedInvoicePostingRetailDataForStockManagement
        {
            // Warehouse.
            public $Warehouse;
            // Additional warehouse. Used for composed articles that are decreased according to the received bill of materials upon release from warehouse.
            public $AdditionalWarehouse;
            public $Rows;
        
        }

            /// 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;
            
            }
            class IssuedInvoicePostingRetailDataForStockManagementRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public $IssuedInvoicePostingRetailId;
                // Issued invoice posting.
                public $IssuedInvoicePosting;
                // Item.
                public $Item;
                // Item quantity.
                public $Quantity;
                // Item price.
                public $Price;
                // Item purchase value.
                public $PurchaseValue;
                // Item selling price<br/>
                // The information depends on the setting whether prices are entered with VAT or without VAT (on VAT periods/Warehouse setting).

                public $SellingPrice;
                // Information whether Selling Price includes VAT or not.<br/><br/>Options:
                // <ul>
                //     <li>D - Selling price includes VAT</li>
                //     <li>N - Selling price does not include VAT</li>
                // </ul>

                public $SellingPriceIncludesVAT;
                // Batch Number.
                public $BatchNumber;
                // Serial number.
                public $SerialNumber;
                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
  • IssuedInvoicePosting issuedInvoicePosting - issuedInvoicePosting

    /// Issued invoice details.
    public class IssuedInvoicePosting
    {
        // Issued invoice posting id.
        // Ignored on create request.
        public Long IssuedInvoicePostingId;
        // Document type:
        // <ul>
        //     <li>IZT - daily income</li>
        //     <li>IRI - daily income invoice (used for VAT reporting purpuses to additionaly specify VAT, payments, taxes and revenues already included in daily income)</li>
        //     <li>IRS - issued invoice</li>
        //     <li>AVA - advance payment</li>
        // </ul>

        public String DocumentType;
        // Status:
        // <ul>
        //     <li>O – draft,</li>
        //     <li>P - confirmed</li>
        // </ul>

        public String Status;
        // Required and only available on document types:
        // <ul>
        //     <li>daily income invoice</li>
        //     <li>issued invoice</li>
        //     <li>advance payment</li>
        // </ul>

        public mMApiFkField Customer;
        // Date of transaction. Required and only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        //     <li>advance payment</li>
        // </ul>

        public Date DateTransaction;
        // Invoice due date. Required and only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        // </ul>

        public Date DateDue;
        // Payment reference. Only available on document types:
        // <ul>
        //     <li>issued invoice</li>
        // </ul>

        public String PaymentReference;
        // Analytic.
        public mMApiFkField Analytic;
        // Document date.
        public Date Date;
        // Document description.
        public String Description;
        // Default = home currency.
        public mMApiFkField Currency;
        // Default = 1.
        public Double ExchangeRate;
        // Only for Minimax RS organisations that send data to eFaktura.
        // Forwarding VAT data to SEF
        // Options:
        // <ul>
        //     <li>Zbirno - Group</li>
        //     <li>Posamicno - Individual</li>
        // </ul>

        public String ForwardToSEF;
        // Sales value (without VAT) to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        //     <li>Retail shop - Decoupled</li>
        // </ul>

        public Double SalesValue;
        // Sales VAT to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        //     <li>Retail shop - Decoupled</li>
        // </ul>

        public Double SalesValueVAT;
        // Purchase value to be posted for retail. Should be supplied when posting for branch office of type:
        // <ul>
        //     <li>Retail shop - Value retail trade</li>
        // </ul>

        public Double PurchaseValue;
        // Payment methods. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public List<IssuedInvoicePostingPaymentMethod> IssuedInvoicePostingPaymentMethods;
        // Taxes.
        public List<IssuedInvoicePostingTax> IssuedInvoicePostingTaxes;
        // Revenues. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public List<IssuedInvoicePostingRevenue> IssuedInvoicePostingRevenues;
        // Retail data for bookkeeping. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public IssuedInvoicePostingRetailDataForBookkeeping IssuedInvoicePostingRetailDataForBookkeeping;
        // Retail data for value based stock management. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public IssuedInvoicePostingRetailDataForValueBasedStockManagement IssuedInvoicePostingRetailDataForValueBasedStockManagement;
        // Retail data for stock management. Only available on document types:
        // <ul>
        //     <li>daily income</li>
        //     <li>issued invoice</li>
        // </ul>

        public IssuedInvoicePostingRetailDataForStockManagement IssuedInvoicePostingRetailDataForStockManagement;
        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;
        
        }
        /// Issued invoice payment method details.
        public class IssuedInvoicePostingPaymentMethod
        {
            // Issued invoice payment method id.
            // Ignored on create request.
            public Long IssuedInvoicePostingPaymentMethodId;
            // Issued invoice posting.
            public mMApiFkField IssuedInvoicePosting;
            // Payment method.
            public mMApiFkField PaymentMethod;
            // Payment amount in document currency.
            public Double Amount;
            // Read only. Payment amount in domestic currency.
            public Double AmountInDomesticCurrency;
            // Only available on document types:
            // <ul>
            //     <li>daily income invoice</li>
            // </ul>

            public mMApiFkField Customer;
            // Reference to the advance payment invoice that is being taken into account by the underlying payment.
            public Long AdvancePaymentIssuedInvoicePostingId;
            // Cash register (if cash gets deposited in a cash register).
            public mMApiFkField CashRegister;
            // Revenue (if cash gets deposited in a cash register).
            public mMApiFkField Revenue;
            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;
            
            }
        /// Issued invoice posting revenue details.
        public class IssuedInvoicePostingTax
        {
            // Issued invoice posting tax id.
            // Ignored on create request.
            public Long IssuedInvoicePostingTaxId;
            // Issued invoice posting.
            public mMApiFkField IssuedInvoicePosting;
            // Defines tax type:
            // <ul>
            //     <li>DDV - VAT</li>
            //     <li>DavekNaPotrosnjo - Consumption tax</li>
            //     <li>PosebenObracunEU - Submission of a special VAT return for the special regulation of the Union – ONE STOP SHOP</li>
            // </ul>

            public String TaxType;
            // Tax subject type:
            // <ul>
            //     <li>B - goods</li>
            //     <li>S - services</li>
            // </ul>
            // Valid and required for VAT tax types.
            // Default = goods.
            //

            public String TaxSubjectType;
            // VAT rate. Valid and required for VAT tax types.
            public mMApiFkField VatRate;
            // Vat rate percentage identifier.
            // Valid and required for Submission of a special VAT return tax types.

            public mMApiFkField VatRatePercentage;
            // Tax base percent
            public Double TaxPercentage;
            // Tax base in document currency.
            public Double TaxBase;
            // Tax amount in document currency.
            public Double TaxAmount;
            // Tax base in domestic currency.
            public Double TaxBaseInDomesticCurrency;
            // Tax amount in domestic currency.
            public Double TaxAmountInDomesticCurrency;
            // VAT accounting type.
            public String VatAccountingType;
            // Code for tax exemption reason
            // Only for Minimax RS
            //

            public String TaxExemptionReasonCode;
            // Reference to the advance payment invoice tax record that is being taken into account by the underlying tax record.
            public Long AdvancePaymentIssuedInvoicePostingTaxId;
            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;
            
            }
        /// Issued invoice posting revenue details.
        public class IssuedInvoicePostingRevenue
        {
            // Issued invoice posting revenue id.
            // Ignored on create request.
            public Long IssuedInvoicePostingRevenueId;
            // Issued invoice posting.
            public mMApiFkField IssuedInvoicePosting;
            // Account to be used for revenue posting
            public mMApiFkField Account;
            // Revenue amount in document currency.
            public Double Amount;
            // Read only. Revenue amount in domestic currency.
            public Double AmountInDomesticCurrency;
            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;
            
            }
        /// Issued invoice posting retail details.
        public class IssuedInvoicePostingRetailDataForBookkeeping
        {
            public List<IssuedInvoicePostingRetailDataForBookkeepingRow> Rows;
        
        }

            public class IssuedInvoicePostingRetailDataForBookkeepingRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public Long IssuedInvoicePostingRetailId;
                // Issued invoice posting.
                public mMApiFkField IssuedInvoicePosting;
                // VAT rate.
                public mMApiFkField VatRate;
                // Item purchase value.
                public Double PurchaseValue;
                // Item sales value.
                public Double SalesValue;
                // Item sales value with VAT.
                public Double SalesValueWithVAT;
                // Item VAT.
                public Double VAT;
                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;
                
                }
        /// Issued invoice posting retail details.
        public class IssuedInvoicePostingRetailDataForValueBasedStockManagement
        {
            // Warehouse.
            public mMApiFkField Warehouse;
            // Additional warehouse. Used for composed articles that are decreased according to the received bill of materials upon release from warehouse.
            public mMApiFkField AdditionalWarehouse;
            public List<IssuedInvoicePostingRetailDataForValueBasedStockManagementRow> Rows;
        
        }

            /// 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;
            
            }
            /// Issued invoice posting retail details.
            public class IssuedInvoicePostingRetailDataForValueBasedStockManagementRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public Long IssuedInvoicePostingRetailId;
                // Issued invoice posting.
                public mMApiFkField IssuedInvoicePosting;
                // VAT rate.
                public mMApiFkField VatRate;
                // Item sales value.
                public Double SalesValue;
                // Item sales value with VAT.
                public Double SalesValueWithVAT;
                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;
                
                }
        /// Issued invoice posting retail details.
        public class IssuedInvoicePostingRetailDataForStockManagement
        {
            // Warehouse.
            public mMApiFkField Warehouse;
            // Additional warehouse. Used for composed articles that are decreased according to the received bill of materials upon release from warehouse.
            public mMApiFkField AdditionalWarehouse;
            public List<IssuedInvoicePostingRetailDataForStockManagementRow> Rows;
        
        }

            /// 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;
            
            }
            public class IssuedInvoicePostingRetailDataForStockManagementRow
            {
                // Issued invoice posting retail id.
                // Ignored on create request.
                public Long IssuedInvoicePostingRetailId;
                // Issued invoice posting.
                public mMApiFkField IssuedInvoicePosting;
                // Item.
                public mMApiFkField Item;
                // Item quantity.
                public Double Quantity;
                // Item price.
                public Double Price;
                // Item purchase value.
                public Double PurchaseValue;
                // Item selling price<br/>
                // The information depends on the setting whether prices are entered with VAT or without VAT (on VAT periods/Warehouse setting).

                public Double SellingPrice;
                // Information whether Selling Price includes VAT or not.<br/><br/>Options:
                // <ul>
                //     <li>D - Selling price includes VAT</li>
                //     <li>N - Selling price does not include VAT</li>
                // </ul>

                public String SellingPriceIncludesVAT;
                // Batch Number.
                public String BatchNumber;
                // Serial number.
                public String SerialNumber;
                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;
                
                }

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
Version
Content
StatusCode
ReasonPhrase
Headers
RequestMessage
IsSuccessStatusCode

This method returns result of type 'HttpResponseMessage'.

This method returns result of type 'HttpResponseMessage'.

This method returns result of type 'HttpResponseMessage'.

 
Authorization endpoint : https://moj.minimax.si/SI/AUT/OAuth20
Token endpoint           : https://moj.minimax.si/SI/AUT/OAuth20/Token
Return url                   : https://moj.minimax.si/SI/API/Help/TestClientDialogsAuth
 
URI parameters
=
Headers | Add custom header
: Delete
Body
Samples:
Status
Headers
            
        
Body