---
title: "CustomerCreditWriteOffs (Visma.net Financials)"
description: "Asiakkaiden luottotappiot"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/vismanet/VismaNet.CustomerCreditWriteOff.CustomerCreditWriteOffs
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.CustomerCreditWriteOff.CustomerCreditWriteOffs
updated: 2026-12-04T20:42:20Z
license: https://documentation.invantive.eu/fi/
---

# CustomerCreditWriteOffs: Visma.net Financials Customer Credit Write-offs

`popular` `read only` `REST`

- Luettelo: `VismaNet`
- Kaavio: `CustomerCreditWriteOff`
- Label: Customer Credit Write-offs

Get a range of Customer Credit WriteOffs - 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 Data for Customer Credit WriteOff

Voi hakea vain tietoja.

## Yhteenveto

Data for Customer Credit WriteOff

## API-lähde

- Päätepiste: `/v1/customerCreditWriteOff`
- Toiminto: `get /v1/customerCreditWriteOff`

## 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): * '&gt;' for greater than * '&lt;' for less than * '&gt;=' for greater than or equal * '&lt;=' for less than or equal  _Note:_ __CreatedDateTime__ and __CreatedDateTimeCondition__ are __mutually inclusive__. |
| `customer` | `` | [ ] |  | Filter by Customer |
| `customerRefNumber` | `` | [ ] |  | The top part &gt; External reference &gt; 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): * '&gt;' for greater than * '&lt;' for less than * '&gt;=' for greater than or equal * '&lt;=' 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): * '&gt;' for greater than * '&lt;' for less than * '&gt;=' for greater than or equal * '&lt;=' 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 (&lt;), after (&gt;), before and including (=&lt;) OR after and including (=&gt;) 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 &gt; External reference &gt; 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): * '&gt;' for greater than * '&lt;' for less than * '&gt;=' for greater than or equal * '&lt;=' for less than or equal  _Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__. |
| `paymentReference` | `` | [ ] |  | The top part &gt; Payment ref. &gt; 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 `CustomerCreditWriteOffs` 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 | [x] | writable | Partition code, segmenting the data. |
| `COMPANY_NAME` | `varchar2(240)` | Yrityksen nimi | [x] | 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 &gt; The identifier of the account class. |
| `account_externalCode2` | `varchar2` | Tilin ulkoinen koodi 2 | [ ] | alustan suodattimet, kirjoitettavissa, `account.externalCode2` | Account class &gt; 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 &gt; The account number. |
| `amount` | `double` | Määrä | [ ] | alustan suodattimet, kirjoitettavissa, `amount` | The top part &gt; Amount &gt; 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 &gt; Balance &gt; 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. &gt; The name. |
| `branchNumber_number` | `varchar2` | Toimipisteen numero | [ ] | alustan suodattimet, kirjoitettavissa, `branchNumber.number` | Click the magnifier. &gt; The identifier. |
| `cashAccount` | `varchar2` | Kassatili | [ ] | alustan suodattimet, kirjoitettavissa, `cashAccount` | Financial details tab &gt; The payment information section &gt; Cash account &gt; The cash account associated with the payment method. |
| `cashDiscount` | `double` | Käteisalennus | [ ] | alustan suodattimet, kirjoitettavissa, `cashDiscount` | The top part &gt; Cash discount &gt; 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 &gt; Creation time &gt; The date the attachment was created. |
| `currencyId` | `varchar2` | Valuutan tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `currencyId` | The top part &gt; Currency &gt; 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 &gt; Customer project no. &gt; The customer project no. used in AutoInvoice. |
| `customerRefNumber` | `varchar2` | Mukautettu viite | [ ] | alustan suodattimet, kirjoitettavissa, `customerRefNumber` | The top part &gt; External reference &gt; The external reference used in AutoInvoice. |
| `customerVatZone_description` | `varchar2` | ALV-alueen kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `customerVatZone.description` | Click on the magnifier. &gt; The description. |
| `customerVatZone_id` | `varchar2` | ALV-alueen tunniste | [ ] | alustan suodattimet, kirjoitettavissa, `customerVatZone.id` | Click on the magnifier. &gt; The identifier. |
| `customer_name` | `varchar2` | Asiakkaan nimi | [ ] | alustan suodattimet, kirjoitettavissa, `customer.name` | Click the magnifier. &gt; 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 &gt; Date* &gt; 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. |
| `documentType` | `varchar2` | Asiakirjan tyyppi | [ ] | alustan suodattimet, kirjoitettavissa, `documentType` | The top part &gt; Type &gt; 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. |
| `hold` | `char` | Pidä | [ ] | alustan suodattimet, kirjoitettavissa, `hold` | The top part &gt; Hold &gt; A check box that indicates if the document is a draft.A document with the On Hold status may be edited and cannot be released. |
| `invoiceText` | `varchar2` | Laskun teksti | [ ] | alustan suodattimet, kirjoitettavissa, `invoiceText` | The top part &gt; Invoice text &gt; 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 &gt; The identifier |
| `location_name` | `varchar2` | Sijainnin nimi | [ ] | alustan suodattimet, kirjoitettavissa, `location.name` | Click the magnifier &gt; 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 &gt; 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 &gt; Orig invoice date &gt; 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. &gt; The description. |
| `paymentMethod_id` | `varchar2` | Maksutavan tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `paymentMethod.id` | Click on the magnifier. &gt; The identifier. |
| `postPeriod` | `varchar2` | Kirjauskausi | [ ] | alustan suodattimet, kirjoitettavissa, `postPeriod` | The top part &gt; Post period &gt; 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. &gt; The description. |
| `project_id` | `varchar2` | Projektin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `project.id` | Click on the magnifier. &gt; 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 &gt; Ref. no. &gt; The reference number of the customer ledger document in the system. |
| `roundingDiff` | `double` | Pyöristysero | [ ] | alustan suodattimet, kirjoitettavissa, `roundingDiff` | The top part &gt; Rounding diff. &gt; The difference between the original amount and the rounded amount. |
| `status` | `varchar2` | Tila | [ ] | alustan suodattimet, kirjoitettavissa, `status` | The top part &gt; Status &gt; 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 &gt; The status of the identifier. |
| `subaccount_description` | `varchar2` | Alitilin kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `subaccount.description` | Description &gt; 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 &gt; The  identifier of the subaccount. |
| `subaccount_subaccountNumber` | `varchar2` | Alitilin numero | [ ] | alustan suodattimet, kirjoitettavissa, `subaccount.subaccountNumber` | Mandatory field: Subaccount* &gt; 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. |
| `timeStamp` | `blob` | Aikaleima | [ ] | alustan suodattimet, kirjoitettavissa, `timeStamp` | Identifier that represents a specific version of the resource.It helps to prevent simultaneous updates of the resource from overwriting each other (by using ETags and If-Match headers) |
| `vatTotal` | `double` | Arvonlisävero yhteensä | [ ] | alustan suodattimet, kirjoitettavissa, `vatTotal` | The top part &gt; VAT total &gt; 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 |
|---|---|---|---|---|
| `CustomerCreditWriteOffs_account_number_fk` | `account_number` | [Accounts](VismaNet.Account.Accounts)`.accountCD` | Avain |  |
| `CustomerCreditWriteOffs_branchNumber_number_fk` | `branchNumber_number` | [Branches](VismaNet.Branch.Branches)`.number` | Avain |  |
| `CustomerCreditWriteOffs_currencyId_fk` | `currencyId` | [Currencies](VismaNet.Currency.Currencies)`.id` | Avain |  |
| `CustomerCreditWriteOffs_customerVatZone_id_fk` | `customerVatZone_id` | [VatZones](VismaNet.VatZone.VatZones)`.id` | Avain |  |
| `CustomerCreditWriteOffs_customer_number_fk` | `customer_number` | [Customers](VismaNet.Customer.Customers)`.number` | Avain |  |
| `CustomerCreditWriteOffs_location_countryId_fk` | `location_countryId` | [Countries](VismaNet.Country.Countries)`.id` | Avain |  |
| `CustomerCreditWriteOffs_paymentMethod_id_fk` | `paymentMethod_id` | [PaymentMethods](VismaNet.PaymentMethod.PaymentMethods)`.paymentMethodID` | Avain |  |
| `CustomerCreditWriteOffs_project_id_txt` | `project_id` | [Projects](VismaNet.Project.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ä:

- [Visma.net Financials](/fi/release-notes/drivers/visma-net-financials)
