- Previous: Invoice Verification
- Up: Invoice Verification
- Next: AddBarcodeToPDF
CheckInvoice
This api is consumed by a user to check the invoice status.
#### Request URI
#### Request Example
#### Response Example
```
POST /campari.com/esb/invoiceverification/checkinvoice/v1
```
#### Request Structure
API field | Type | Mandatory | Description |
DocumentHeader |
|||
CompanyCode |
String | Y | Campari Company Code |
AccountNum |
String | Y | Campari Account Number |
TaxNum |
String | N | Tax Number |
RefDocNum |
String | Y | Campari Reference Document Number |
Amount |
String | Y | Invoice amount |
DocDateInDoc |
String | Y | Document insert date |
CurrKey |
String | Y | Currency key |
TransDoc |
|||
TransDoc/Item (0..∞) |
|||
RefDocNum |
String | N | Reference Document Number |
AccountNum |
Sting | N | Account Number |
PurchOrder |
```
{
"DocumentHeader":{
"CompanyCode":"US20",
"AccountNum":"1000045100",
"TaxNum":"",
"RefDocNum":"10429",
"Amount":90000.0,
"DocDateInDoc":"20190918",
"CurrKey":"USD"
},
"TransDoc":{
"item":[
{
"RefDocNum":"",
"AccountNum":""
}
]
},
"PurchOrder":{
}
}
```
#### Response Structure
API field | Type | Description |
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 |
```
{
"ResponseType":[
{
"Status":"E",
"Class":"ZFI_SNOW",
"Code":"050",
"Message":"Vendor not valid"
}
]
}
```
#### 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 |
S | No Error found | In case of success |
E | Vendor not valid | The following message refers to and invaldi Vendor sent for the Document Number |
E | Missing GR/SR | - da Verificare |
E | Duplicated invoice | Invoice duplicated -da Verificare |
E | Multiple Bank | - da Verificare |
E | Cur Mismatching | - da Verificare |
- Previous: Invoice Verification
- Up: Invoice Verification
- Next: AddBarcodeToPDF
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.