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

ReceivedInvoice -> GetReceivedInvoices

Returns all received invoices for the given organization.

Request

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

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationIdorganisation id
CustomerIDCustomer id.
CustomerNameCustomer Name.
InvoiceNumberInvoice Number.
StatusStatus.
DateIssuedFromInvoice date from.
DateIssuedToInvoice date to.
DocumentReferenceDocument Reference.
DateDueFromDate due from.
DateDueToDate due to.
DateTransactionFromDate transaction from.
DateTransactionToDate transaction to.
YearYear.
PaymentStatusPayment Status.
CurrentPageCurrent page index starting with 1 for first page.
PageSizePage size defines number of records returned per page.
SortFieldField name that is used for sorting/ordering result rows.
OrderSort order: A - ascending; D - descending

Filter options:

    /// Received invoice search filter.
    public class ReceivedInvoiceSearchFilter
    {
        // Customer id.
        public long? CustomerID { get; set; }
        // Customer Name.
        public string CustomerName { get; set; }
        // Invoice Number.
        public string InvoiceNumber { get; set; }
        // Status.
        public string Status { get; set; }
        // Invoice date from.
        public DateTime? DateIssuedFrom { get; set; }
        // Invoice date to.
        public DateTime? DateIssuedTo { get; set; }
        // Document Reference.
        public string DocumentReference { get; set; }
        // Date due from.
        public DateTime? DateDueFrom { get; set; }
        // Date due to.
        public DateTime? DateDueTo { get; set; }
        // Date transaction from.
        public DateTime? DateTransactionFrom { get; set; }
        // Date transaction to.
        public DateTime? DateTransactionTo { get; set; }
        // Year.
        public int? Year { get; set; }
        // Payment Status.
        public string PaymentStatus { get; set; }
        // Current page index starting with 1 for first page.
        public int CurrentPage { get; set; }
        // Page size defines number of records returned per page.
        public int PageSize { get; set; }
        // Field name that is used for sorting/ordering result rows.
        public string SortField { get; set; }
        // Sort order: A - ascending; D - descending
        public string Order { get; set; }
    
    }

Request parameters:

  • long organisationId - organisation id

Filter options:

    /// Received invoice search filter.
    class ReceivedInvoiceSearchFilter
    {
        // Customer id.
        public $CustomerID;
        // Customer Name.
        public $CustomerName;
        // Invoice Number.
        public $InvoiceNumber;
        // Status.
        public $Status;
        // Invoice date from.
        public $DateIssuedFrom;
        // Invoice date to.
        public $DateIssuedTo;
        // Document Reference.
        public $DocumentReference;
        // Date due from.
        public $DateDueFrom;
        // Date due to.
        public $DateDueTo;
        // Date transaction from.
        public $DateTransactionFrom;
        // Date transaction to.
        public $DateTransactionTo;
        // Year.
        public $Year;
        // Payment Status.
        public $PaymentStatus;
        // Current page index starting with 1 for first page.
        public $CurrentPage;
        // Page size defines number of records returned per page.
        public $PageSize;
        // Field name that is used for sorting/ordering result rows.
        public $SortField;
        // Sort order: A - ascending; D - descending
        public $Order;
    
    }

Request parameters:

  • Int64 organisationId - organisation id

Filter options:

    /// Received invoice search filter.
    public class ReceivedInvoiceSearchFilter
    {
        // Customer id.
        public Long CustomerID;
        // Customer Name.
        public String CustomerName;
        // Invoice Number.
        public String InvoiceNumber;
        // Status.
        public String Status;
        // Invoice date from.
        public Date DateIssuedFrom;
        // Invoice date to.
        public Date DateIssuedTo;
        // Document Reference.
        public String DocumentReference;
        // Date due from.
        public Date DateDueFrom;
        // Date due to.
        public Date DateDueTo;
        // Date transaction from.
        public Date DateTransactionFrom;
        // Date transaction to.
        public Date DateTransactionTo;
        // Year.
        public Integer Year;
        // Payment Status.
        public String PaymentStatus;
        // Current page index starting with 1 for first page.
        public Integer CurrentPage;
        // Page size defines number of records returned per page.
        public Integer PageSize;
        // Field name that is used for sorting/ordering result rows.
        public String SortField;
        // Sort order: A - ascending; D - descending
        public String Order;
    
    }

Request parameters:

  • Long organisationId - organisation id

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
RowsReturned rows. List of ReceivedInvoiceSearch.
TotalRowsNumber of rows matching search condition.
CurrentPageNumberCurrent page number. Result rows are returned in pages.
PageSizeNumbers of rows returned per page.

This method returns result of type 'SAOP.API.Models.SearchResult`1'.

    /// SearchResult is default return type for all search api methods.
    public class SearchResult<T>
    {
        // Returned rows.
        public T Rows { get; set; }
        // Number of rows matching search condition.
        public long TotalRows { get; set; }
        // Current page number. Result rows are returned in pages.
        public long CurrentPageNumber { get; set; }
        // Numbers of rows returned per page.
        public long PageSize { get; set; }
    
    }

        public class ReceivedInvoiceSearch
        {
            // Received Invoice Id
            public long ReceivedInvoiceId { get; set; }
            // Invoice year.
            public int? Year { get; set; }
            // Invoice number.
            public long? InvoiceNumber { get; set; }
            // Document numbering.
            public mMApiFkField DocumentNumbering { get; set; }
            // Document reference.
            public string DocumentReference { get; set; }
            // Customer.
            public mMApiFkField Customer { get; set; }
            // Analytic.
            public mMApiFkField Analytic { get; set; }
            // Currency.
            public mMApiFkField Currency { get; set; }
            // Invoice date
            public DateTime DateIssued { get; set; }
            // Date of transaction
            public DateTime DateTransaction { get; set; }
            // Invoice due date
            public DateTime DateDue { get; set; }
            // Received date
            public DateTime DateReceived { get; set; }
            // Amount of invoice
            public Decimal InvoiceAmount { get; set; }
            // Received invoice status:
            // <ul>
            //     <li>P – Confirmed,</li>
            //     <li>O – Draft,</li>
            // </ul>

            public string Status { get; set; }
            // Payment status:
            // <ul>
            //     <li>Placan – Paid,</li>
            //     <li>DelnoPlacanZapadel – Partially paid, Overdue</li>
            //     <li>DelnoPlacanNezapadel – Partially paid, Not yet due</li>
            //     <li>NeplacanZapadel – Unpaid, Overdue,</li>
            //     <li>NeplacanNezapadel – Unpaid, Not yet due</li>
            //     <li>Osnutek – Draft,</li>
            //     <li>Avans – Advance payment</li>
            // </ul>

            public string PaymentStatus { get; set; }
            // Invoice value
            public Decimal InvoiceValue { get; set; }
            // Paid value
            public Decimal PaidValue { 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; }
            
            }

This method returns result of type 'SAOP.API.Models.SearchResult`1'.

    /// SearchResult is default return type for all search api methods.
    class SearchResult
    {
        // Returned rows.
        public $Rows;
        // Number of rows matching search condition.
        public $TotalRows;
        // Current page number. Result rows are returned in pages.
        public $CurrentPageNumber;
        // Numbers of rows returned per page.
        public $PageSize;
    
    }

        class ReceivedInvoiceSearch
        {
            // Received Invoice Id
            public $ReceivedInvoiceId;
            // Invoice year.
            public $Year;
            // Invoice number.
            public $InvoiceNumber;
            // Document numbering.
            public $DocumentNumbering;
            // Document reference.
            public $DocumentReference;
            // Customer.
            public $Customer;
            // Analytic.
            public $Analytic;
            // Currency.
            public $Currency;
            // Invoice date
            public $DateIssued;
            // Date of transaction
            public $DateTransaction;
            // Invoice due date
            public $DateDue;
            // Received date
            public $DateReceived;
            // Amount of invoice
            public $InvoiceAmount;
            // Received invoice status:
            // <ul>
            //     <li>P – Confirmed,</li>
            //     <li>O – Draft,</li>
            // </ul>

            public $Status;
            // Payment status:
            // <ul>
            //     <li>Placan – Paid,</li>
            //     <li>DelnoPlacanZapadel – Partially paid, Overdue</li>
            //     <li>DelnoPlacanNezapadel – Partially paid, Not yet due</li>
            //     <li>NeplacanZapadel – Unpaid, Overdue,</li>
            //     <li>NeplacanNezapadel – Unpaid, Not yet due</li>
            //     <li>Osnutek – Draft,</li>
            //     <li>Avans – Advance payment</li>
            // </ul>

            public $PaymentStatus;
            // Invoice value
            public $InvoiceValue;
            // Paid value
            public $PaidValue;
            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;
            
            }

This method returns result of type 'SAOP.API.Models.SearchResult`1'.

    /// SearchResult is default return type for all search api methods.
    public class SearchResultT
    {
        // Returned rows.
        public T Rows;
        // Number of rows matching search condition.
        public Long TotalRows;
        // Current page number. Result rows are returned in pages.
        public Long CurrentPageNumber;
        // Numbers of rows returned per page.
        public Long PageSize;
    
    }

        public class ReceivedInvoiceSearch
        {
            // Received Invoice Id
            public Long ReceivedInvoiceId;
            // Invoice year.
            public Integer Year;
            // Invoice number.
            public Long InvoiceNumber;
            // Document numbering.
            public mMApiFkField DocumentNumbering;
            // Document reference.
            public String DocumentReference;
            // Customer.
            public mMApiFkField Customer;
            // Analytic.
            public mMApiFkField Analytic;
            // Currency.
            public mMApiFkField Currency;
            // Invoice date
            public Date DateIssued;
            // Date of transaction
            public Date DateTransaction;
            // Invoice due date
            public Date DateDue;
            // Received date
            public Date DateReceived;
            // Amount of invoice
            public Double InvoiceAmount;
            // Received invoice status:
            // <ul>
            //     <li>P – Confirmed,</li>
            //     <li>O – Draft,</li>
            // </ul>

            public String Status;
            // Payment status:
            // <ul>
            //     <li>Placan – Paid,</li>
            //     <li>DelnoPlacanZapadel – Partially paid, Overdue</li>
            //     <li>DelnoPlacanNezapadel – Partially paid, Not yet due</li>
            //     <li>NeplacanZapadel – Unpaid, Overdue,</li>
            //     <li>NeplacanNezapadel – Unpaid, Not yet due</li>
            //     <li>Osnutek – Draft,</li>
            //     <li>Avans – Advance payment</li>
            // </ul>

            public String PaymentStatus;
            // Invoice value
            public Double InvoiceValue;
            // Paid value
            public Double PaidValue;
            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;
            
            }

 
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