-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Data Fiscalization #12
Labels
enhancement
New feature or request
Comments
Merged
Merged
Merged
BaseOrder:
Item:
FiscalData:
ShippingDetail:
Example of Usage: from django.db import models
from payme.models import Item, BaseOrder
class Product(models.Model):
item = models.ForeignKey(Item)
image = models.CharField(max_length=255)
desc = models.CharField(max_length=255)
class Order(BaseOrder):
user_id = models.IntegerField()
user_comment = models.CharField(max_length=255) |
hoosnick
added a commit
that referenced
this issue
Oct 1, 2023
count of items problem: |
hoosnick
added a commit
that referenced
this issue
Oct 13, 2023
hoosnick
changed the title
Dynamic ICPS (Identification Code of Product and Service)
Dynamic Data Fiscalization
Jan 21, 2024
fixed on version 3+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a detail object to Order model
receipt_type
shipping
items
Items array parameters:
discount
title
price
count
code
units
package_code
vat_percent
Shipping object parameters (optional field):
title
price
With only required objects and their keys, we need to add like following for each product or service in our Order model:
The text was updated successfully, but these errors were encountered: