How to communicate series to the Tax Authority via Web API?
From 01/01/2023, it is mandatory to communicate the document series to the Tax Authority (AT). Besides communicating the series on the app, you can do it via Web API (see documentation). Please note that if you do not communicate the series you use, you will not be able to issue documents in the application. To help communicate series using the Web API, we have prepared the following example: This is an example for communicating the 2023 series associated with the document types "FA" and "NC".POST taxesCore/seriesCommunications/communicateSeries
{
"company": "TEST",
"action": "Register", //or "Finish" or "Annul"
"communicateSeriesLines":
[
{
"series": "2023",
"documentType": "FA",
"fiscalDocumentType": "FT"
},
{
"series": "2023",
"documentType": "NC",
"fiscalDocumentType": "NC"
}
]
}
login para deixar a sua opinião.