Versioonide võrdlemine

Selgitus

  • See rida lisati.
  • See rida eemaldati.
  • Vorminduse muutmine.

Sisukord
stylesquare

...

Antud liigutus avab asutuse andmete akna, kus paistab reklaamimaksu viitenumber:

Uue asutuse reklaamimaksu viitenumber tekib deklaratsiooni esitamisega eeldusel, et vormi lisaväljade osas on olemas väli tüübiga "Taotleja andmed: Viitenumber". Antud valik on olemas ainult ühel SPOKU kasutajal (andmebaasi sp_viitenr tabelis on rida olemas).

Image AddedImage Added

DEKLARATSIOONI SAATMINE BUSINESS CENTRAL-isse

Deklaratsiooni andmete saatmist saab häälestada SPOKU-s valikuga ...

"Ametnik" > "Registrid" >"Reklaamimaksu deklaratsioon": Pliiatsi ikoon > lisavälja "BC" seadete alt (3 täpi).

Image Modified

Image Modified

Image Modified


Andmevälja tüübiks on "Tekst" ning valemi näide (dimensioonide väärtused on illustratiivsed). Antud valem saadab vastavalt taotleja omandivormile omad dimentsiooni väärtused ning ainult need deklaratsioonid, mis oli esitatud alates 01.01.2021

...

Näide 1. addSalesDocument

Saadetav BC-sse päring addSalesDocument - Kohustuste saatmine BCsse (päis)

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
{ "documentType": "Invoice", "documentNo": "DEKL-2021/00054", "lineCount": 1, "sellToCustomerNo": "10283105", "sellToCustomerName": "IT Medical Tecnologies OÜ", "billToCustomerNo": "10283105", "billToCustomerName": "IT Medical Tecnologies OÜ", "referenceNo": "4102831050", "objectAccountNo": "103000", "invoiceDescription": "Reklaamimaksu deklaratsioon (01.08.2021-08.09.2021)", "documentDate": "2021-08-05", "postingDate": "2021-08-05", "dueDate": "2021-08-19", "relatedInvoiceNo": null, "dimCode1": "TT", "dimValue1": "01800", "dimCode2": "TKL", "dimValue2": "304400", "dimCode3": "TP", "dimValue3": "800599", "dimCode4": "ÜKSUS", "dimValue4": "201", "dimCode5": null, "dimValue5": null, "dimCode6": null, "dimValue6": null, "dimCode7": null, "dimValue7": null, "dimCode8": null, "dimValue8": null, "dimCode9": null, "dimValue9": null, "dimCode10": null, "dimValue10": null, "dimCode11": null, "dimValue11": null, "dimCode12": null, "dimValue12": null }

...

Koodilõik
titleVaatamiseks tee lahti >>>
collapsetrue
{
"@odata.context": "https://pperp.piksel.ee:3058/SAUE150SERVLIVE/ODataV4/$metadata#Company('Saue%20Piksel%2019.05.2021')/addSalesDocument/$entity",
"@odata.etag": "W/\"JzQ0OzlNSUdOUy80R0JOU2ordkZqRkllWGhLZ2tQRmIwcE53SG9oNUVtMTRZMWM9MTswMDsn\"",
"SystemId": "02f2e9c5-d6f5-eb11-a4a0-000c29ced534",
"documentType": "Invoice",
"documentNo": "DEKL-2021/00054",
"lineCount": 1,
"sellToCustomerNo": "10283105",
"sellToCustomerName": "IT Medical Tecnologies OÜ",
"billToCustomerNo": "10283105",
"billToCustomerName": "IT Medical Tecnologies OÜ",
"billToCustomerEMail": "",
"referenceNo": "4102831050",
"objectAccountNo": "103000",
"invoiceDescription": "Reklaamimaksu deklaratsioon (01.08.2021-08.09.2021)",
"documentDate": "2021-08-05",
"postingDate": "2021-08-05",
"dueDate": "2021-08-19",
"createdTime": "2021-08-05T10:20:36.827Z",
"relatedInvoiceNo": "",
"eInvoice": false,
"standingOrderPmntCode": "",
"dimCode1": "TT",
"dimValue1": "01800",
"dimCode2": "TKL",
"dimValue2": "304400",
"dimCode3": "TP",
"dimValue3": "800599",
"dimCode4": "ÜKSUS",
"dimValue4": "201",
"dimCode5": "",
"dimValue5": "",
"dimCode6": "",
"dimValue6": "",
"dimCode7": "",
"dimValue7": "",
"dimCode8": "",
"dimValue8": "",
"dimCode9": "",
"dimValue9": "",
"dimCode10": "",
"dimValue10": "",
"dimCode11": "",
"dimValue11": "",
"dimCode12": "",
"dimValue12": ""
}
Näide 2. addSalesDocumentLine

Saadetav BC-sse päring addSalesDocumentLine - Kohustuste saatmine BCsse (rida)

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
{
"documentType": "Invoice",
"documentNo": "DEKL-2021/00054",
"lineNo": 1,
"accountNo": "304400",
"unitOfMeasureCode": "TK",
"amount": 356.77,
"description": "Reklaamimaksu deklaratsioon (01.08.2021-08.09.2021)",
"INF3": false,
"dimCode1": "TT",
"dimValue1": "01800",
"dimCode2": "TKL",
"dimValue2": "304400",
"dimCode3": "TP",
"dimValue3": "800599",
"dimCode4": "ÜKSUS",
"dimValue4": "201",
"dimCode5": null,
"dimValue5": null,
"dimCode6": null,
"dimValue6": null,
"dimCode7": null,
"dimValue7": null,
"dimCode8": null,
"dimValue8": null,
"dimCode9": null,
"dimValue9": null,
"dimCode10": null,
"dimValue10": null,
"dimCode11": null,
"dimValue11": null,
"dimCode12": null,
"dimValue12": null
}

BC-st tulnud vastus (päring õnnestus)

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
{
"@odata.context": "https://pperp.piksel.ee:3058/SAUE150SERVLIVE/ODataV4/$metadata#Company('Saue%20Piksel%2019.05.2021')/addSalesDocumentLine/$entity",
"@odata.etag": "W/\"JzQ0O0NNUWRFcFY4TFExS3ZiT3RwbHBjT1RTQUcrMnQ3eGc4T29BYWJVZjhlbDg9MTswMDsn\"",
"documentType": "Invoice",
"documentNo": "DEKL-2021/00054",
"lineNo": 1,
"accountNo": "304400",
"unitOfMeasureCode": "TK",
"amount": 356.77,
"description": "Reklaamimaksu deklaratsioon (01.08.2021-08.09.2021)",
"INF3": false,
"dimCode1": "TT",
"dimValue1": "01800",
"dimCode2": "TKL",
"dimValue2": "304400",
"dimCode3": "TP",
"dimValue3": "800599",
"dimCode4": "ÜKSUS",
"dimValue4": "201",
"dimCode5": "",
"dimValue5": "",
"dimCode6": "",
"dimValue6": "",
"dimCode7": "",
"dimValue7": "",
"dimCode8": "",
"dimValue8": "",
"dimCode9": "",
"dimValue9": "",
"dimCode10": "",
"dimValue10": "",
"dimCode11": "",
"dimValue11": "",
"dimCode12": "",
"dimValue12": ""
}
Näide 3. referenceNoBalance (Saldo päring)

SPOKUst saadetav päring

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
https://pperp.piksel.ee:3058/SAUE150SERVLIVE/ODataV4/Company('Saue%20Piksel%2019.05.2021')/referenceNoBalance?$filter=paymentReferenceNo%20eq%20'4499030200128'


BC-st tulev vastus

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
{
"@odata.context": "https://pperp.piksel.ee:3058/SAUE150SERVLIVE/ODataV4/$metadata#Company('Saue%20Piksel%2019.05.2021')/referenceNoBalance",
"value": []
}


Näide 4. customerTransaction (Asutuse tehingute küsimine)

SPOKUst saadetav päring

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
https://pperp.piksel.ee:3058/SAUE150SERVLIVE/ODataV4/Company('Saue%20Piksel%2019.05.2021')/customerTransactions?$filter=paymentReferenceNo%20eq%20'4109293390'


BC-st tulev vastus

Koodilõik
titleVaatamiseks tee lahti >>>>
collapsetrue
{
"@odata.context": "https://pperp.piksel.ee:3058/SAUE150SERVLIVE/ODataV4/$metadata#Company('Saue%20Piksel%2019.05.2021')/customerTransactions",
"value": []
}

...