UPO

When the invoice is accepted by KSeF, it assigns special KSeF Reference Number. This special number is a legal confirmation of the fact that invoice has been received and accepted.

Additionally, A-Cube provides UPO (Urzędowe Poświadczenie Odbioru) for each invoice. Because of technical limitation, obtaining of the UPO can take up to 2 hours.

When the UPO is received, the Invoice changes status to confirmed.

Copy
Copied
{
  "legalEntityUuid": "8b8b8755-5850-4ead-9c68-8243f4ac2748",
  "invoiceUuid": "e5dc0cab-2a99-4e24-a958-f3d570db3ac6",
  "status": "confirmed",
  "message": null,
  "ksefReferenceNumber": "8431324763-20221007-F95571-88922F-C2",
  "acquisitionTimestamp": "2022-10-07 11:59:12"
}

UPO details (XML) can be downloaded by special button on the details of the invoice in Dashboard or by API.

Copy
Copied
curl -i -X GET \
    'http://pl-sandbox.api.acubeapi.com/invoices/{uuid}/upo' \
    --header 'Accept: application/xml' \
    --header 'Authorization: YOUR_API_KEY_HERE'