POST financial-numbers-document

Add a new financial numbers document to Fiscaal Gemak.

Request Information

URI Parameters

None.

Body Parameters

The FinancialNumbersDocumentViewModel, containing information about the financial numbers document.

FiscaalGemak.Web.Api.Models.Models.FinancialNumbersDocumentViewModel
NameDescriptionTypeAdditional information
ClientId

integer

None.

Files

Collection of string

Required

ImportFileType

FiscaalGemak.Core.Models.Enums.FinancialNumbersDocumentImportFileType

None.

PeriodEnd

date

None.

PeriodStart

date

None.

RgsVersion

FiscaalGemak.Core.Models.Enums.RgsVersion

None.

Rsin

string

String length: inclusive between 0 and 9

VatNumber

string

String length: inclusive between 0 and 14

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "Files": [
    "sample string 1",
    "sample string 2"
  ],
  "ImportFileType": 0,
  "PeriodEnd": "2022-12-03T14:29:03.5329283+01:00",
  "PeriodStart": "2022-12-03T14:29:03.5329283+01:00",
  "RgsVersion": 1,
  "Rsin": "sample string 3",
  "VatNumber": "sample string 4"
}

application/xml, text/xml

Sample:
<FinancialNumbersDocumentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiscaalGemak.Web.Api.Models.Models">
  <ClientId>1</ClientId>
  <Files xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Files>
  <ImportFileType>Rgs</ImportFileType>
  <PeriodEnd>2022-12-03T14:29:03.5329283+01:00</PeriodEnd>
  <PeriodStart>2022-12-03T14:29:03.5329283+01:00</PeriodStart>
  <RgsVersion>OnePointOne</RgsVersion>
  <Rsin>sample string 3</Rsin>
  <VatNumber>sample string 4</VatNumber>
</FinancialNumbersDocumentViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The FinancialNumbersDocumentResponseModel, containing information about the financial numbers document.

FiscaalGemak.Web.Api.Models.Models.FinancialNumbersDocumentResponseModel
NameDescriptionTypeAdditional information
ResponseCode

FiscaalGemak.Web.Api.Models.Enums.FinancialNumbersDocumentResponseCode

None.

ResponseMessage

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.