Updates the automatic NFS-e issuance configuration linked to a subscription.
The new rules apply to upcoming payments and to payments that do not yet have an invoice created. Invoices that have already been issued are not modified.
When effectiveDatePeriod is BEFORE_PAYMENT_DUE_DATE, provide daysBeforeDueDate with one of the allowed values: 5, 10, 15, 30, or 60.
For ON_NEXT_MONTH, receivedOnly can restrict issuance to paid payments. When not provided, its default value is false.
Updating thetaxesobjectThe
taxesobject has full replacement semantics.When you send it, provide the complete desired state of the taxes. Fields omitted within
taxesare set to their default value, usuallynull, and the previous configuration is no longer preserved.If you need to change only some of the taxes and keep the other values, first retrieve the current configuration and send the complete
taxesobject.Real estate operations: operationTypeCode and realEstateInfo can also be sent inside taxes when updating the automatic invoice configuration for subscriptions. In this flow, operationTypeCode only accepts the values 1, 4, and 5, because types 2 and 3 require referencedInvoiceAccessKeyList, which is not available for subscriptions. If operationIndicatorCode no longer indicates a real estate operation and realEstateInfo is not sent, the real estate data is removed from the configuration.
PIS and COFINSFor accounts under the Regime Normal (standard tax regime) that issue NFS-e through the Portal Nacional, provide
taxes.pisCofinsTaxStatus,taxes.operationPis, andtaxes.operationCofinsaccording to the applicable tax status.Do not send
taxes.pisCofinsRetentionType. The value is calculated automatically by Asaas.Simples Nacional customers have no payload changes related to NT-007.
If the subscription does not yet have an automatic issuance configuration registered, use Create configuration for issuance of invoices.
Related content
Guides
404Not found
