Getting Started
- Overview
- Quick Start
- API Concepts
Documents
- Receiving
- Sending
Guides
Endpoints
- Incoming Transactions
- Outgoing Transactions
- All Transactions
- Tasks
- Misc
Mark Task as Processed
Report the processing of tasks and submit result data.
curl --request PUT \
--url https://api.procuros.io/v2/tasks/{procurosTaskId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"success": true,
"result": [
{
"systemIdentifier": "KU-1092",
"isEnabled": false,
"mainParty": {
"name": "ACME Co. Ltd.",
"identifiers": [
{
"identifier": "4300000000001",
"domain": "GS1"
},
{
"identifier": "DE123456789",
"domain": "VAT_DE"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Elroy-Fritsch-Ring 15",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
},
"additionalParties": {
"shipTo": [
{
"name": "ACME Corp Warehouse A",
"identifiers": [
{
"identifier": "4300000000002",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
],
"billTo": [
{
"name": "ACME Corp Billing",
"identifiers": [
{
"identifier": "4300000000003",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
]
}
}
]
}'
{
"message": "OK."
}
Authorizations
The API Token of your ERP Connection.
Path Parameters
Unique ID assigned to every task by Procuros.
"949b2f25-fd9d-4c58-8899-b4dc277f8cf9"
Body
Whether or not your system was able to process the given task.
The internal ERP system identifier this trade partner has on your side. Will be supplied back to you through the "SYNC_ENABLED_TRADE_PARTNERS" task.
"KU-1029"
Indicates whether the trade partner is enabled for Procuros.
false
Main party (address + contacts) of the trade partner.
Party identifier within the "domain" such as GLN on GS1 domain, DUNS number on DUNS domain, etc.
"1100001016310"
Identification system the identifier belongs to.
GS1
, DUNS
, VAT_DE
, FED_TAX
, SENDER_INTERNAL
, RECEIVER_INTERNAL
Mandatory if the deprecated "name" attribute on the "PostalAddress" object is omitted.
Depending on the transaction different properties are required. Only on an invoice a full address is required.
Use the "name" attribute on the "Party" object instead.
"ACME Germany GmbH - Außenstelle Hamburg"
"Sternstrasse 23"
"E4"
"Hamburg"
"21571"
"HH"
ISO 3166-1 standard two-letter country code.
2
"DE"
"Prof. Dr."
"Frau"
"Atikin"
"Iar"
"+491763021548"
"+447881561299"
"+491763021548-11"
"Purchasing"
Additional ship-to (delivery) parties that exist for this trade partner.
Party identifier within the "domain" such as GLN on GS1 domain, DUNS number on DUNS domain, etc.
"1100001016310"
Identification system the identifier belongs to.
GS1
, DUNS
, VAT_DE
, FED_TAX
, SENDER_INTERNAL
, RECEIVER_INTERNAL
Mandatory if the deprecated "name" attribute on the "PostalAddress" object is omitted.
Depending on the transaction different properties are required. Only on an invoice a full address is required.
Use the "name" attribute on the "Party" object instead.
"ACME Germany GmbH - Außenstelle Hamburg"
"Sternstrasse 23"
"E4"
"Hamburg"
"21571"
"HH"
ISO 3166-1 standard two-letter country code.
2
"DE"
"Prof. Dr."
"Frau"
"Atikin"
"Iar"
"+491763021548"
"+447881561299"
"+491763021548-11"
"Purchasing"
Additional bill-to (billing) parties that exist for this trade partner.
Party identifier within the "domain" such as GLN on GS1 domain, DUNS number on DUNS domain, etc.
"1100001016310"
Identification system the identifier belongs to.
GS1
, DUNS
, VAT_DE
, FED_TAX
, SENDER_INTERNAL
, RECEIVER_INTERNAL
Mandatory if the deprecated "name" attribute on the "PostalAddress" object is omitted.
Depending on the transaction different properties are required. Only on an invoice a full address is required.
Use the "name" attribute on the "Party" object instead.
"ACME Germany GmbH - Außenstelle Hamburg"
"Sternstrasse 23"
"E4"
"Hamburg"
"21571"
"HH"
ISO 3166-1 standard two-letter country code.
2
"DE"
"Prof. Dr."
"Frau"
"Atikin"
"Iar"
"+491763021548"
"+447881561299"
"+491763021548-11"
"Purchasing"
Additional pay-to (remittance) parties that exist for this trade partner.
Party identifier within the "domain" such as GLN on GS1 domain, DUNS number on DUNS domain, etc.
"1100001016310"
Identification system the identifier belongs to.
GS1
, DUNS
, VAT_DE
, FED_TAX
, SENDER_INTERNAL
, RECEIVER_INTERNAL
Mandatory if the deprecated "name" attribute on the "PostalAddress" object is omitted.
Depending on the transaction different properties are required. Only on an invoice a full address is required.
Use the "name" attribute on the "Party" object instead.
"ACME Germany GmbH - Außenstelle Hamburg"
"Sternstrasse 23"
"E4"
"Hamburg"
"21571"
"HH"
ISO 3166-1 standard two-letter country code.
2
"DE"
"Prof. Dr."
"Frau"
"Atikin"
"Iar"
"+491763021548"
"+447881561299"
"+491763021548-11"
"Purchasing"
Reason your system was not able to process the given task.
The type of the error. DATA
indicates that the error is caused by invalid or insufficient data and can be resolved by a user. INTERNAL
indicates a system-level error that cannot be fixed by a user.
DATA
, INTERNAL
Response
Status message
Was this page helpful?
curl --request PUT \
--url https://api.procuros.io/v2/tasks/{procurosTaskId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"success": true,
"result": [
{
"systemIdentifier": "KU-1092",
"isEnabled": false,
"mainParty": {
"name": "ACME Co. Ltd.",
"identifiers": [
{
"identifier": "4300000000001",
"domain": "GS1"
},
{
"identifier": "DE123456789",
"domain": "VAT_DE"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Elroy-Fritsch-Ring 15",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
},
"additionalParties": {
"shipTo": [
{
"name": "ACME Corp Warehouse A",
"identifiers": [
{
"identifier": "4300000000002",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
],
"billTo": [
{
"name": "ACME Corp Billing",
"identifiers": [
{
"identifier": "4300000000003",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
]
}
}
]
}'
{
"message": "OK."
}