Invantive-dokumentaatioosa Invantive Cloudia
Invantive-tukifoorumitKirjaudu sisään / Rekisteröidy

CustomerDocuments: Visma.net Financials Customer Documents

read only REST

  • Luettelo: VismaNet
  • Kaavio: CustomerDocument
  • Label: Customer Documents

Gets a range of Customer Documents - ScreenId=AR301000 Request page size must be lower or equal to the allowed max page size which is returned as part of the metadata information. If requested page size is greater than allowed max page size, request will be limited to max page size Change log: 2020-May:Added forced pagination Data for Customer Document

Voi hakea vain tietoja.

Yhteenveto

Data for Customer Document

API-lähde

  • Päätepiste: /v1/customerdocument
  • Toiminto: get /v1/customerdocument

Suorituskykyominaisuudet

Ominaisuus Arvo
Keskimääräinen yhteysviive (ms) 155
Täysskannausrivit minuutissa 29,100
Query-rivien määrä minuutissa 387

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

Parametrit

Nimi Tietotyyppi Tarvitaan Oletus Dokumentaatio
branch `` Filter by Branch
closedFinancialPeriod `` The date of the closing of the financial period.
createdDateTime `` This value, generated by the system, indicates the creation date and time.Use it to retrieve all records that have been created since that time, up to the present.Accepted format: * yyyy-MM-dd * yyyy-MM-dd HH:mm:ss * yyyy-MM-dd HH:mm:ss.FFF * yyyy-MM-ddTHH:mm:ss * yyyy-MM-ddTHH:mm:ss.FFF Note: CreatedDateTime and CreatedDateTimeCondition are mutually inclusive.
createdDateTimeCondition `` This value represents the condition to be applied when retrieving records.Accepted values (without the single quotes): * '>' for greater than * '<' for less than * '>=' for greater than or equal * '<=' for less than or equal Note: CreatedDateTime and CreatedDateTimeCondition are mutually inclusive.
customer `` Filter by Customer
customerRefNumber `` The top part > External reference > The external reference used in AutoInvoice.
documentDate `` This value indicates the document date.Use it to retrieve all records that have the Document Date since that time, up to the future.Accepted format: * yyyy-MM-dd * yyyy-MM-dd * yyyy-MM-dd * yyyy-MM-dd * yyyy-MM-dd Note: DocumentDate and DocumentDateCondition are mutually inclusive.
documentDateCondition `` This value represents the condition to be applied to the Document Date when retrieving records.Accepted values (without the single quotes): * '>' for greater than * '<' for less than * '>=' for greater than or equal * '<=' for less than or equal Note: DocumentDate and DocumentDateCondition are mutually inclusive.
documentDueDate `` The date when payment for the document is due, in accordance with the credit terms.
documentDueDateCondition `` This value represents the condition to be applied to the Due Date when retrieving records.Accepted values (without the single quotes): * '>' for greater than * '<' for less than * '>=' for greater than or equal * '<=' for less than or equal
documentType `` The field is deprecated for specific customer document endpoints.It will only be usable from customer document endpoint.(Values: Invoice, DebitNote, CreditNote, Payment, VoidPayment, Prepayment, Refund, FinCharge, SmallBalanceWo, SmallCreditWo, CashSale, CashReturn, Undefined, NoUpdate)
dunningLetterDateTime `` The date and time for when the document last released a dunning letter.
dunningLetterDateTimeCondition `` Set time/date as before (<), after (>), before and including (=<) OR after and including (=>) to filter on time frame.
dunningLevel `` The dunning level of the document.
expandApplications `` True if you want to see all dunning information regarding this document.
expandAttachments `` True if you want to see all attachments regarding this document.
expandDunningInformation ``
expandInvoiceAddress `` True if you want to see all information regarding the invoice address for this document.
expandTaxDetails `` True if you want to see all VAT details regarding this document.
externalReference `` The top part > External reference > The external reference used in AutoInvoice.
financialPeriod `` The financial period to which the transactions recorded in the document is posted.Format YYYYMM.
greaterThanValue `` Greater than value.The item which is the object for this, varies from API to API.
lastModifiedDateTime `` This value, generated by the system, indicates the last time the record was modified.Use it to retrieve all records that have been modified since that time, up to the present.Accepted format: * yyyy-MM-dd * yyyy-MM-dd HH:mm:ss * yyyy-MM-dd HH:mm:ss.FFF * yyyy-MM-ddTHH:mm:ss * yyyy-MM-ddTHH:mm:ss.FFF Note: LastModifiedDateTime and LastModifiedDateTimeCondition are mutually inclusive.
lastModifiedDateTimeCondition `` This value represents the condition to be applied when retrieving records.Accepted values (without the single quotes): * '>' for greater than * '<' for less than * '>=' for greater than or equal * '<=' for less than or equal Note: LastModifiedDateTime and LastModifiedDateTimeCondition are mutually inclusive.
paymentReference `` The top part > Payment ref. > The reference number of the document, as automatically generated by the system in accordance with the number series assigned to cash sales in the Customer ledger preferences window..
project `` The project with which the document is associated.
released `` Parameter for showing if invoice has been released or not.
status `` The status of the document.Use the dropdown to select status.(Values: Hold, Balanced, Voided, Scheduled, Open, Closed, PendingPrint, PendingEmail, CreditHold, CcHold, Reserved)

Taulukon sarakkeet

Taulukon CustomerDocuments sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

Nimi Tietotyyppi Etiketti Tarvitaan Merkit Dokumentaatio
COMPANY_CODE varchar2(30) Yrityskoodi writable Partition code, segmenting the data.
COMPANY_NAME varchar2(240) Yrityksen nimi writable Name of the partition.
account_active char Tili on aktiivinen alustan suodattimet, kirjoitettavissa, account.active
account_description varchar2 Tilin kuvaus alustan suodattimet, kirjoitettavissa, account.description Name of item/description
account_externalCode1 varchar2 Tilin ulkoinen koodi 1 alustan suodattimet, kirjoitettavissa, account.externalCode1 Account class > The identifier of the account class.
account_externalCode2 varchar2 Tilin ulkoinen koodi 2 alustan suodattimet, kirjoitettavissa, account.externalCode2 Account class > The name of the account class.
account_number varchar2 Tilinumero alustan suodattimet, kirjoitettavissa, account.number Number of item
account_type varchar2 Tilityyppi alustan suodattimet, kirjoitettavissa, account.type Account > The account number.
amount double Määrä alustan suodattimet, kirjoitettavissa, amount The top part > Amount > The amount paid by the document.The value appears for new documents if the Validate document totals on entry check box is selected on the AR101000 window.If the check box is cleared, then the value appears when the document status is Open.
amountInCurrency double Summa valuutassa alustan suodattimet, kirjoitettavissa, amountInCurrency Background calculation giving you the Amount in your default currency.This field is applicable if the amount is given in a another currency than your default.
balance double Saldo alustan suodattimet, kirjoitettavissa, balance The top part > Balance > For an open customer ledger document, the balance after any cash discount was taken.For a document used in the application process, this is the balance after the payments were applied.
balanceInCurrency double Valuuttasaldo alustan suodattimet, kirjoitettavissa, balanceInCurrency Background calculation giving you the Balance in your default currency.This field is applicable if the amount is given in a another currency than your default.
branchNumber_name varchar2 Toimipisteen nimi alustan suodattimet, kirjoitettavissa, branchNumber.name Click the magnifier. > The name.
branchNumber_number varchar2 Toimipisteen numero alustan suodattimet, kirjoitettavissa, branchNumber.number Click the magnifier. > The identifier.
branch_name varchar2 Toimipisteen nimi alustan suodattimet, kirjoitettavissa, branch.name Click the magnifier. > The name.
branch_number varchar2 Toimipisteen numero alustan suodattimet, kirjoitettavissa, branch.number Click the magnifier. > The identifier.
cashAccount varchar2 Kassatili alustan suodattimet, kirjoitettavissa, cashAccount Financial details tab > The payment information section > Cash account > The cash account associated with the payment method.
cashDiscount double Käteisalennus alustan suodattimet, kirjoitettavissa, cashDiscount The top part > Cash discount > The cash discount amount that has been or will be taken on the document, which the system calculates based on the specified credit terms.
cashDiscountInCurrency double Käteisalennus valuutassa alustan suodattimet, kirjoitettavissa, cashDiscountInCurrency Background calculation giving you the Cash discount in your default currency.This field is applicable if the amount is given in another currency than your default.
closedFinancialPeriod varchar2 Päättynyt tilikausi alustan suodattimet, kirjoitettavissa, closedFinancialPeriod Format YYYYMM.
createdDateTime datetime Luotu alustan suodattimet, kirjoitettavissa, createdDateTime The Attachments tab > Creation time > The date the attachment was created.
currencyId varchar2 Valuutan tunnus alustan suodattimet, kirjoitettavissa, currencyId The top part > Currency > The currency of the document.By default, it is the customer’s default currency,but it can be changed if the Allow Currency Override check box is selected in the AR303000 window.
customerProject varchar2 Asiakashanke alustan suodattimet, kirjoitettavissa, customerProject The top part > Customer project no. > The customer project no. used in AutoInvoice.
customerRefNumber varchar2 Mukautettu viite alustan suodattimet, kirjoitettavissa, customerRefNumber The top part > External reference > The external reference used in AutoInvoice.
customer_name varchar2 Asiakkaan nimi alustan suodattimet, kirjoitettavissa, customer.name Click the magnifier. > The name.
customer_number varchar2 Asiakastunnus alustan suodattimet, kirjoitettavissa, customer.number
documentDate datetime Asiakirjan päivämäärä alustan suodattimet, kirjoitettavissa, documentDate The top part > Date* > The date when the customer ledger document was created.By default, for a new document, it is the current business date, but you can change the date.
documentDueDate datetime Asiakirjan eräpäivä alustan suodattimet, kirjoitettavissa, documentDueDate
documentType varchar2 Asiakirjan tyyppi alustan suodattimet, kirjoitettavissa, documentType The top part > Type > The document type.The following types are available: invoice, debit note, credit note, overdue charge, credit write-off
errorInfo varchar2 Virheilmoitus alustan suodattimet, kirjoitettavissa, errorInfo
financialPeriod varchar2 Tilikausi alustan suodattimet, kirjoitettavissa, financialPeriod The financial period to which the transactions recorded in the document should be posted.Format YYYYMM.
invoiceText varchar2 Laskun teksti alustan suodattimet, kirjoitettavissa, invoiceText The top part > Invoice text > Any user-provided description of the customer ledger document.
lastModifiedDateTime datetime Viimeksi muokattu alustan suodattimet, kirjoitettavissa, lastModifiedDateTime System generated field for last modification date/time of document.
location_countryId varchar2 Sijainti Maan tunnus alustan suodattimet, kirjoitettavissa, location.countryId Location*.
location_id varchar2 Sijainnin tunnus alustan suodattimet, kirjoitettavissa, location.id Click the magnifier > The identifier
location_name varchar2 Sijainnin nimi alustan suodattimet, kirjoitettavissa, location.name Click the magnifier > The displayed name
metadata_maxPageSize int64 Metatietojen enimmäissivukoko alustan suodattimet, kirjoitettavissa, metadata.maxPageSize
metadata_totalCount int64 Yhteismäärä alustan suodattimet, kirjoitettavissa, metadata.totalCount
note varchar2 Huomautus alustan suodattimet, kirjoitettavissa, note Icon Notes on top of the window > Pop-up window for providing any user-defined text connected to the document.
origInvoiceDate datetime Alkuperäinen laskun päivämäärä alustan suodattimet, kirjoitettavissa, origInvoiceDate The top part > Orig invoice date > The date based on which the Due date and Cash discount date is calculated.Only used if setting "Use Orig Invoice Date" is active in AR Preferences.By default, for a new document, it is the current business date, but you can change the date.
paymentMethod_description varchar2 Maksutavan kuvaus alustan suodattimet, kirjoitettavissa, paymentMethod.description Click on the magnifier. > The description.
paymentMethod_id varchar2 Maksutavan tunnus alustan suodattimet, kirjoitettavissa, paymentMethod.id Click on the magnifier. > The identifier.
postPeriod varchar2 Kirjauskausi alustan suodattimet, kirjoitettavissa, postPeriod The top part > Post period > The period to which the document should be posted.Format YYYYMM.
project_description varchar2 Hankkeen kuvaus alustan suodattimet, kirjoitettavissa, project.description Click on the magnifier. > The description.
project_id varchar2 Projektin tunnus alustan suodattimet, kirjoitettavissa, project.id Click on the magnifier. > The identifier.
project_internalId int32 itgen_vnet_project_internalid alustan suodattimet, kirjoitettavissa, project.internalId The internal identifier.
referenceNumber varchar2 Viitenumero alustan suodattimet, kirjoitettavissa, referenceNumber The Top part > Ref. no. > The reference number of the customer ledger document in the system.
status varchar2 Tila alustan suodattimet, kirjoitettavissa, status The top part > Status > The status of the document, which can be one of the following: Hold, Balanced, Voided, Scheduled, Open, Closed, Pending print, Pending email.
subaccount_active char Alitili aktiivinen 2 alustan suodattimet, kirjoitettavissa, subaccount.active Active > The status of the identifier.
subaccount_description varchar2 Alitilin kuvaus alustan suodattimet, kirjoitettavissa, subaccount.description Description > The description of the identifier.
subaccount_errorInfo varchar2 Alitilin virheilmoitus alustan suodattimet, kirjoitettavissa, subaccount.errorInfo
subaccount_lastModifiedDateTime datetime Alitilin viimeisin muokkaus alustan suodattimet, kirjoitettavissa, subaccount.lastModifiedDateTime System generated information.
subaccount_metadata_maxPageSize int64 Alitilin metatietojen enimmäissivukoko alustan suodattimet, kirjoitettavissa, subaccount.metadata.maxPageSize
subaccount_metadata_totalCount int64 Alitilien metatietojen kokonaismäärä alustan suodattimet, kirjoitettavissa, subaccount.metadata.totalCount
subaccount_subaccountId int32 Alitilin tunnus alustan suodattimet, kirjoitettavissa, subaccount.subaccountId SubID > The identifier of the subaccount.
subaccount_subaccountNumber varchar2 Alitilin numero alustan suodattimet, kirjoitettavissa, subaccount.subaccountNumber Mandatory field: Subaccount* > The subaccount number.Format 9-XX.
subaccount_timeStamp blob itgen_vnet_subaccount_timestamp alustan suodattimet, kirjoitettavissa, subaccount.timeStamp The timestamp of the subaccount, used for concurrency control.
vatTotal double Arvonlisävero yhteensä alustan suodattimet, kirjoitettavissa, vatTotal The top part > VAT total > The VAT amount of the document, as defined on the VAT details tab.
vatTotalInCurrency double Arvonlisäveron kokonaissumma valuutassa alustan suodattimet, kirjoitettavissa, vatTotalInCurrency Background calculation giving you the VAT total in your default currency.This field is applicable if the amount is given in a another currency than your default.

Avaimet

Avain Sarake Viittaa Laji Kuvaus
CustomerDocuments_account_number_fk account_number Accounts.accountCD Avain
CustomerDocuments_branchNumber_number_fk branchNumber_number Branches.number Avain
CustomerDocuments_branch_number_fk branch_number Branches.number Avain
CustomerDocuments_currencyId_fk currencyId Currencies.id Avain
CustomerDocuments_customer_number_fk customer_number Customers.number Avain
CustomerDocuments_location_countryId_fk location_countryId Countries.id Avain
CustomerDocuments_paymentMethod_id_fk paymentMethod_id PaymentMethods.paymentMethodID Avain
CustomerDocuments_project_id_txt project_id Projects.projectID Tekstimuotoinen The project, or the code for no project when the document is not associated with a project; that code has no row in Projects.

Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä: