- Introduction
- Document Management
- External Integration
- Authentication
- Invoice-to-Pay
- Documents Manager
- External System Integration
- Upload Document
- Tax Reform
- Data Integration
- External System Integration
Register delivery integration
HOM
HOM
POST
/ibs-core-delivery/api/v1/delivery
delivery
Request
Header Params
Authorization
string
required
Body Params application/json
isDefault
boolean
optional
Default:
false
Example:
false
integrationId
string
required
Example:
INT123456
entity
enum<string>
required
Allowed values:
DOCUMENTACCOUNTS_PAYABLE_EXTERNALPURCHASE_ORDERSERVICE_ORDERUMBRELLA_AGREEMENTSUPPLIERTAX_CODETAX_CODE_IRFCUSTOMDELIVERY_AUTHORIZATIONCOST_CENTERITEMPAYMENT_CONDITIONOUTBOUND_INVOICEFINANCIAL_NATUREBLIND_REVIEWGOODS_THIRD_PARTY
Example:
SUPPLIER
subEntity
string
optional
Example:
SUBENTITY_EXAMPLE
data
array [oneOf]
required
object
PurchaseOrderDto
object
SupplierDto
object
AccountsPayableDto
object
TaxCodeDto
object
TaxCodeIrfDto
object
DeliveryAuthorizationDto
object
CostCenterDto
object
PaymentConditionDto
object
ItemDto
object
FinancialNatureDto
object
OutboundInvoiceDto
object
BlindReviewDto
object
GoodsThirdPartyDto
Examples
{
"isDefault": true,
"integrationId": "12345",
"entity": "PURCHASE_ORDER",
"data": [
{
"purchaseNumber": "qa1221231",
"beneficiary": {
"code": "00000101",
"name": "ACME CORP INC",
"nationalRegister": "00111222000100"
},
"provider": {
"code": "00000101",
"name": "ACME CORP INC",
"nationalRegister": "00111222000100"
},
"invoiceNature": "010101010",
"documentDate": "2024-12-31T00:00:00:SSZ",
"deliveryDate": "2024-12-31T00:00:00:SSZ",
"items": [
{
"itemCode": "P01212110",
"orderItem": "0001",
"description": "PRODUCT FAKE EXAMPLE",
"ncm": "45214410",
"unitMeasure": "UN",
"costCenter": "10102030",
"serviceCode": "1401",
"initialValueItem": 5000,
"unitValue": 100,
"totalValue": 4000,
"quantity": 40,
"initialQuantityItem": 50,
"accountInfo": "14123100123"
}
],
"payment": {
"method": "PIX",
"condition": "001"
},
"requester": "THOMAS EDISON",
"approver": "SANTOS DUMONT",
"canceled": "false",
"status": "APPROVED",
"initialValue": 5000,
"totalValue": 4000,
"custom": {
"campoPersonalizado1": "valor1",
"campoPersonalizado2": "valor2"
}
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://hom.roit.ai/ibs-core-delivery/api/v1/delivery' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"isDefault": true,
"integrationId": "12345",
"entity": "PURCHASE_ORDER",
"data": [
{
"purchaseNumber": "qa1221231",
"beneficiary": {
"code": "00000101",
"name": "ACME CORP INC",
"nationalRegister": "00111222000100"
},
"provider": {
"code": "00000101",
"name": "ACME CORP INC",
"nationalRegister": "00111222000100"
},
"invoiceNature": "010101010",
"documentDate": "2024-12-31T00:00:00:SSZ",
"deliveryDate": "2024-12-31T00:00:00:SSZ",
"items": [
{
"itemCode": "P01212110",
"orderItem": "0001",
"description": "PRODUCT FAKE EXAMPLE",
"ncm": "45214410",
"unitMeasure": "UN",
"costCenter": "10102030",
"serviceCode": "1401",
"initialValueItem": 5000,
"unitValue": 100,
"totalValue": 4000,
"quantity": 40,
"initialQuantityItem": 50,
"accountInfo": "14123100123"
}
],
"payment": {
"method": "PIX",
"condition": "001"
},
"requester": "THOMAS EDISON",
"approver": "SANTOS DUMONT",
"canceled": "false",
"status": "APPROVED",
"initialValue": 5000,
"totalValue": 4000,
"custom": {
"campoPersonalizado1": "valor1",
"campoPersonalizado2": "valor2"
}
}
]
}'
Responses
🟢201Created
application/json
Body
timestamp
number
required
Example:
1672531200
status
string
required
Example:
success
message
string
required
Example:
Request received successfully
Example
{
"timestamp": 1672531200,
"status": "success",
"message": "Request received successfully"
}
🟠400Bad Request
🟠401Unauthorized
Modified at 2025-04-25 18:47:14