• Register

InvoicePostingFI

This API is used for trasmission of non-PO based AP Invoice details from the SNOW to SAP public cloud and post it in SAP Public cloud and send back the accounting document details to SNOW. #### Request URI
``` POST /campari.com/esb/invoiceverification/invoicepostingfi/v1 ```
#### Request Structure
API field Type Mandatory Description
DocumentHeader
CompanyCode String Y Campari Company Code
AccountNumVendCred String Y Campari Account Number -da verificare
DocumentDate String Y Document date in format YYYYMMDD
PostingDate String N Posting date
Reference String Y Reference number -da verificare
AmountDocCurr String Y Amount document currency value -da verificare
Currency String Y Currency name
CalcTax String N Tax calculated -da verificare
TaxCode Sting N Tax code -da verificare
CalcTax String N Tax calculated -da verificare
Text String N -da verificare
TaxAmount String Y Tax amount -da verificare
DocumentType String N Document type -da verificare
PayMethod String N Payment method -da verificare
TermsPayKey String N Tems of payment key-da verificare
DocHeaderText String Y Document header text identification -da verificare
PayBlockKey String N -da verificare
ItemGL
#### Request Example
``` { "DocumentHeader": { "CompanyCode": "AR20", "ListBusinTrans": "R", "AccountNumVendCred": "1000033769", "DocumentDate": "20190926", "PostingDate": "", "Reference": "0005A00003685", "AmountDocCurr": 30300.0, "Currency": "ARS", "CalcTax": "", "TaxCode": "", "Text": "", "TaxAmount": 5300.0, "DocumentType": "", "PayMethod": "", "TermsPayKey": "", "DocHeaderText": "AR20190011845", "PayBlockKey": "" }, "ItemGL": {} } ```
#### Response Structure
API field Type Description
CompanyCode String -da verificare non obbligatorio
AccountingDocNum String -da verificare non obbligatorio
PostingDate String - da verificare
FiscalYear String -da verificare
CommonResponse
ResponseType (0..∞)
Status String Possible value are “S”, “E”
Class String -da verificare
Code String -da verificare
Message String This field is provided in case of error status and represents a description of the error
#### Response Example
``` { "CompanyCode":"", "AccountingDocNum":"", "PostingDate":"00000000", "FiscalYear":"0000", "CommonResponse":{ "ResponseType": [ { "Status": "S", "Class": "", "Code": "", "Message": "" } ] } } ```
#### Response Table:
Status Message Description
S In case of request processed successfully
E Error on internal Campari’s system - SAP In case of error while connecting to SAP
E Fill Mandatory Fields in case of empty mandatory fields

Docs Navigation