Skip to main content
Version: Next

Retrieve not seen status

Information

This API allow you to get all status not seen yet

Link to swagger
This endpoint is synchronous
The role user is needed in order to use this endpoint
Endpoints

GET/v1/invoice/status/notSeen

No parameters

Request

GET /v1/invoice/status/notSeen


curl -X 'GET'
'https://api.ppd.iopole.fr//v1/invoice/status/notSeen'
-H 'accept: application/json'
-H 'Authorization: Bearer ${token}'

Response

200 OK

[
{
"invoiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"newStatus": [
{
"statusId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"date": "2024-08-08T12:47:51.147Z",
"destType": "OPERATOR",
"invoiceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": {
"code": "IN_HAND",
"value": "205",
"desc": "Approuvée",
"message": "string"
},
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<rsm:CrossDomainAcknowledgementAndResponse xmlns:qdt=\"urn:un:unece:uncefact:data:standard:QualifiedDataType:131\" ...",
"json": {
"category": {
"code": "eInvoicing",
"value": "S1"
},
"context": {
"id": "LC_APPROVED_STREAM",
"name": "LifeCycle - Approuvée",
"date": "2024-07-16T20:36:31Z",
"sender": {
"name": "Iopole",
"siren": "123456789",
"siret": "12345678909090",
"roleCode": {
"code": "BUYER",
"value": "BY",
"desc": "Acheteur"
}
},
"issuer": {
"name": "Iopole",
"siren": "123456789",
"siret": "12345678909090",
"roleCode": {
"code": "BUYER",
"value": "BY",
"desc": "Acheteur"
}
},
"recipients": [
{
"name": "Iopole",
"siren": "123456789",
"siret": "12345678909090",
"roleCode": {
"code": "BUYER",
"value": "BY",
"desc": "Acheteur"
}
}
]
},
"responses": [
{
"documentReference": {
"issuerAssignedId": "F-LGjGKOUIQjgFjB",
"typeCode": "80",
"receiptDate": "2024-07-16T20:35:16Z",
"issuerTradeParty": "string"
},
"documentStatus": {
"message": "La facture est en cours de traitement par le destinataire",
"status": {
"code": "SUBMITTED",
"value": "205",
"desc": "Approuvée"
},
"details": {
"generatedDate": "2024-07-16T20:36:31Z",
"reason": "Error occurred during invoice validation process",
"documentStatusCharacteristic": [
{
"id": "BR-CO-15",
"name": "SCHEMATRON_ERROR",
"description": "[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).",
"location": "/*:CrossIndustryInvoice[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]"
}
]
}
}
}
]
}
}
]
}
]