- Previous: CheckBlock
- Up: Invoice Verification
- Next: InvoicePostingFI
InsertPDF
This api is consumed by a user to insert an invoice in PDF format.
#### Request URI
#### Request Example
#### Response Example
```
POST /campari.com/esb/invoiceverification/insertpdf/v1
```
#### Request Structure
API field | Type | Mandatory | Description |
PDFObj
|
|||
CompanyCode
|
String | Y | Campari Company Code |
DocumentNumber
|
String | Y | Campari Document Number |
FiscalYear
|
String | Y | Fiscal Year |
HeaderText
|
String | Y | - da Verificare |
PDFDocB64
|
String | Y | The PDF in base64 format |
```
{
"PDFObj":{
"CompanyCode":"US20",
"DocumentNumber":"107556",
"FiscalYear":"2019",
"HeaderText":"US20190039198"
},
"PDFDocB64":""
}
```
#### 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 a message description of the action status |
```
{
"CommonResponse": {
"ResponseType": [
{
"Status": "S",
"Class": "ZFI_SNOW",
"Code": "216",
"Message": "PDF attached"
}
]
}
}
```
#### 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 | PDF attached | The following message refers to a success response |
E | Fill Mandatory Fields | Some of the mandatory field is empty |
- Previous: CheckBlock
- Up: Invoice Verification
- Next: InvoicePostingFI
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.