Report e-invoice
https://api.light.inc/v1/einvoicing/reporting-einvoices
Reports an opened accounting document to the tax authority. Returns the report as submitted, or as failed with the reason.
Permission: reporting-e-invoices:submit (AR_CLERK, COMPANY_ADMIN, CONTROLLER)
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Request body
application/json;charset=UTF-8
-
accountingDocumentIdstring · uuidThe accounting document to report
-
networkstringThe tax authority's reporting network
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
DE_EMAILFINVOICEFR_PAMYDATANEMHANDELPEPPOLPORTUGUESE_TAX_REPORTINGSDISIIVERIFACTU
Response
-
idstring · uuid -
companyEntityIdstring · uuid -
accountingDocumentIdstring · uuidThe reported accounting document. Null once the accounting document is deleted
-
accountingDocumentTypestring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
APARBPCCCNCTDEFXJEYC -
statusstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
FAILEDSUBMITTED -
failureContextobjectFailure context when vendor onboarding fails.
-
namestringThe error name
-
typestringThe error type
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
BAD_REQUESTUNAUTHORIZEDFORBIDDENNOT_FOUNDCONFLICTUNPROCESSABLE_CONTENT -
errorsarray of objectList of errors providing details about what went wrong
-
typestringA string code identifying the error type
-
messagestringA human-readable message providing more details about the error
-
patharray of stringOptional path of the error when the error is for a specific field. Used mostly on BAD_REQUEST errors, that path will match the field name on the request object
-
contextobjectOptional context providing additional information about the error. This can include any relevant data that might help in understanding or resolving the error
-
-
-
einvoiceIdstring -
submittedAtstring · date-time -
createdAtstring · date-time