• Register

InvoicePostingPO

Transfer the Invoice details from the SNOW to SAP public cloud and post it in SAP Public cloud. #### Request URI
``` POST /campari.com/esb/invoiceverification/invoicepostingpo/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": "US20", "ListFieldTransEvent": "1", "AccountNumVendCred": "1100103761", "DocumentDate": "20250313", "PostingDate": "", "Reference": "31180975", "AmountDocCurr": "17436.23", "Currency": "USD", "CalcTax": "", "TaxCode": "I0", "Text": "", "TaxAmount": "0", "DocumentType": "RE", "ReferenceDocCategory": "", "PayMethod": "", "TermsPayKey": "", "DocHeaderText": "US20250223041", "PayBlockKey": "" }, "ItemPO": { "item": [ { "PurchDoc": "4500854977" } ] }, "ItemDDT": { "item": [] }, "ItemGL": { "item": [] } } ```
#### 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": "US20", "AccountingDocNum": "5100225858", "PostingDate": "20250319", "FiscalYear": "2025", "CommonResponse": { "ResponseType": [ { "Status": "S", "Class": "ZFI_SNOW", "Code": "301", "Message": "Invoice posted successfully" } ] } } ```
#### 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