We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98f71c7 commit a644cfeCopy full SHA for a644cfe
1 file changed
examples/create_declaration.py
@@ -43,7 +43,8 @@ def main():
43
invoice_ids = [inv.id for inv in invoices]
44
try:
45
client.create_decl(invoice_ids, year=year, month=month)
46
- print(f'Declaration created — {len(invoice_ids)} invoice(s) attached to {year}/{month:02d}')
+ count = len(invoice_ids)
47
+ print(f'Declaration created — {count} invoice(s) attached to {year}/{month:02d}')
48
except RSGeAPIError as exc:
49
print(f'Note: create_decl() not available on sandbox: {exc}')
50
0 commit comments