- Previous: AddBarcodeToPDF
- Up: Invoice Verification
- Next: InsertPDF
CheckBlock
This api is consumed by - da Verificare - and block the document for payment.
#### Request URI
#### Request Example
#### Response Example
```
POST /campari.com/esb/invoiceverification/checkblock/v1
```
#### Request Structure
API field | Type | Mandatory | Description |
DocumentObj
|
|||
CompanyCode
|
String | Y | Campari Company Code |
DocumentNumber
|
String | Y | Campari Document Number |
FiscalYear
|
String | Y | Fiscal Year interested |
```
{
"DocumentObj":{
"CompanyCode":"MX20",
"DocumentNumber":"5100077385",
"FiscalYear":"2019"
}
}
```
#### Response Structure
InvAmountUSD
API field | Type | Description |
PORequestor
|
String | The PO Requestor number identification |
PayBlockKey
|
String | - da Verificare |
PostDate
|
String | Posting Date of the PO |
InvAmountUSD
|
String | Invoice Amount in USD currency |
Cluster
|
||
Cluster/CommonResponse
|
||
Cluster/CommonResponse/ResponseType (0..∞)
|
||
Status
|
String | Possible value are “S”, “E” |
Class
|
String | RFC Table queried |
Code
|
String | Response Code from the RFC Table |
Message
|
String | This field is provided in case of error status and represents a description of the error |
```
{
"PORequestor":"11000311",
"PayBlockKey":"R",
"PostDate":"20190924",
"InvAmountUSD":"18789.89",
"Cluster":{
"Item":{
"ExcReason":"A002",
"AssignGroup":"S50002025"
}
},
"Cluster":{
"CommonResponse"[{
"ResponseType":{
"Status":"S"
}
}]
}
}
```
#### 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 |
- Previous: AddBarcodeToPDF
- Up: Invoice Verification
- Next: InsertPDF
Docs Navigation
- Campari Open API
- Picklist
- Getting Started
- Connection Tester
- Automatic GRC
- Coupa Integration
- Customer Master Data
- Dogana Connector
- EZFocus
- Invoice Verification
- Journal Entries
- Logistics Operators
- Material Master Data
- One Plan
- Purchase Orders
- Product
- Sales Order
- SAP Utils
- SendLinkToSAP
- Transport Management System
- Vendor Purchase Orders
- WBS Automation
0 Comments
Please sign in to post a comment.