E-invoicing
Refresh the credit note filing of a customer credit
Changed onRead the newest result of the started e-invoice filing of the customer credit with this number from the authority, and return the filing. A filing that has no engine job yet stays as it is. DualEntry also reads the result on its own. Call this route when you need the result now. You need the customer credit view permission.
The request fails in these cases:
- The request fails with 404 when the customer credit has no filing.
- The request fails with 503 and error_code e_invoicing_engine when the e-invoicing engine does not answer.
- The request fails with 503 and error_code e_invoicing_setup when the setup of the country is broken.
- The request fails with 502 and error_code e_invoicing_engine when the engine refuses the request.
- The request fails with 402 before it checks the permission, when the organization has no e-invoicing subscription.
post/public/v2/e-invoicing/customer-credits/{number}/refresh/
Request
- Base URL: https://api.dualentry.com
- URL: https://api.dualentry.com/public/v2/e-invoicing/customer-credits/{number}/refresh/
- Auth: none declared
Path parameters
numberinteger required
Headers
Idempotency-Keystring
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
Response
OK
Changes
- info
endpoint added
- info