Status Purchase
This endpoint allows reporting purchase invoice B2B status changes (for example, payment or rejection).
Call
The body of the request corresponds to the PurchaseInvoiceStatusRequest object.
curl -X POST https://apitest.solmicrosdh.com/v2.0/Invoicing/StatusPurchase \
--cert /path/to/certificate.pfx \
--cert-type P12 \
--pass mypfxpassword \
-H "Content-Type: application/json" \
-H "CompanyId: unique-company-guid" \
-H "InstallationId: unique-installation-guid" \
-d '{
"externalReference": "00000000-0000-0000-0000-000000000000",
"rejectionReason": 1,
"statusType": 2,
"action": 0,
"statusDate": "2026-01-31",
"context": {
"dueDate": "2026-02-15",
"goodsReceptionDate": "2026-01-31",
"invoiceReceptionDate": "2026-01-31"
}
}'
Result
The result will be a InvoiceStatusResultitem containing the following information:
- For the rest of the fields, see the response administration services.